Changeset dc37ed0


Ignore:
Timestamp:
Mar 10, 2011, 11:21:31 PM (13 years ago)
Author:
Quentin Smith <quentin@…>
Branches:
no-cups
Children:
1b9d629
Parents:
94211df
git-author:
Quentin Smith <quentin@…> (03/10/11 23:21:31)
git-committer:
Quentin Smith <quentin@…> (03/10/11 23:21:31)
Message:

Show request and response for debugging purposes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/lib/server.py

    r91abb7f rdc37ed0  
    2121        request = ipp.Request(request=self.rfile,
    2222                              length=length)
     23        print "Received request:", repr(request)
    2324
    2425        response_kwargs = {}
     
    2728        response_kwargs = self.get_jobs(request, response_kwargs)
    2829        response = ipp.Request(**response_kwargs)
     30        print "Sending response:", repr(response)
    2931
    3032        self.send_response(200, "o hai")
Note: See TracChangeset for help on using the changeset viewer.