Ignore:
Timestamp:
Dec 20, 2011, 3:20:13 PM (12 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
no-cups
Children:
aef164a
Parents:
ef8df33
git-author:
Jessica B. Hamrick <jhamrick@…> (12/20/11 15:20:13)
git-committer:
Jessica B. Hamrick <jhamrick@…> (12/20/11 15:20:13)
Message:

A litte bit of documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/lib/gutenbach/ipp/operations.py

    ref8df33 r59a1d4a  
    2121        raise err.VersionNotSupported(str(request.version))
    2222
    23     # check operation id
     23    # XXX: check operation id
    2424    if False:
    2525        raise err.OperationNotSupported(str(request.operation_id))
     
    3131            "Attribute group does not have OPERATION tag: 0x%x" % op_attrs.tag)
    3232
     33    # XXX: if these aren't valid, then you HAVE to return something
     34    # special.  See RFC 2911 3.1.6.1
    3335    # # check compression
    3436    # if False:
     
    474476    return out
    475477
    476 
    477478def make_get_printer_attributes_response(attrs, request):
    478479    """3.2.5.2 Get-Printer-Attributes Response
     
    525526    return response
    526527
     528### CUPS-GET-DEFAULT
    527529
    528530def verify_cups_get_default_request(request):
     
    576578    make_printer_attributes(attrs, request, response)
    577579    return response
     580
     581### CUPS-GET-PRINTERS
    578582
    579583def verify_cups_get_printers_request(request):
     
    619623    """
    620624
     625    # XXX: actually do something here
    621626    return {}
    622627
     
    648653        make_printer_attributes(printer, request, response)
    649654    return response
     655
     656### CUPS-GET-CLASSES
    650657
    651658def verify_cups_get_classes_request(request):
     
    692699    """
    693700
     701    # XXX: actually do something here
    694702    return {}
    695703
Note: See TracChangeset for help on using the changeset viewer.