Ignore:
Timestamp:
Dec 27, 2011, 10:20:10 PM (12 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
no-cups
Children:
e58af05
Parents:
ee8e6d0
git-author:
Jessica B. Hamrick <jhamrick@…> (12/27/11 22:20:10)
git-committer:
Jessica B. Hamrick <jhamrick@…> (12/27/11 22:20:10)
Message:

Add support for chunking, i.e. receiving file data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/lib/gutenbach/server/requests.py

    ree8e6d0 r7c143c9  
    4141
    4242    def __init__(self):
    43         print "init"
    4443        self.printers = {
    4544            "test": GutenbachPrinter(name="test")
     
    8988        # actually get the handler
    9089        handler = getattr(self, handler_name)
    91         logger.info("Handling request of type '%s'" % handler_name)
     90        logger.info("request is '%s'" % handler_name)
    9291
    9392        # try to handle the request
     
    116115
    117116    def unknown_operation(self, request, response):
    118         logger.warning("Received unknown operation 0x%x" % request.operation_id)
     117        logger.warning("unknown operation 0x%x" % request.operation_id)
    119118        response = make_empty_response(request)
    120119        response.operation_id = ipp.StatusCodes.OPERATION_NOT_SUPPORTED
Note: See TracChangeset for help on using the changeset viewer.