Ignore:
Timestamp:
Dec 20, 2011, 9:28:12 AM (12 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
no-cups
Children:
1a63bf7
Parents:
35f7259
git-author:
Jessica B. Hamrick <jhamrick@…> (12/20/11 09:28:12)
git-committer:
Jessica B. Hamrick <jhamrick@…> (12/20/11 09:28:12)
Message:

Add make_get_jobs_response to ipp/operations, add documentation to server/requests

File:
1 edited

Legend:

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

    r738d179 r6ed9d7a  
    100100    @handler_for(const.Operations.GET_JOBS)
    101101    def get_jobs(self, request, response):
     102        """RFC 2911: 3.2.6 Get-Jobs Operation
     103       
     104        This REQUIRED operation allows a client to retrieve the list
     105        of Job objects belonging to the target Printer object. The
     106        client may also supply a list of Job attribute names and/or
     107        attribute group names. A group of Job object attributes will
     108        be returned for each Job object that is returned.
     109
     110        This operation is similar to the Get-Job-Attributes operation,
     111        except that this Get-Jobs operation returns attributes from
     112        possibly more than one object.
     113
     114        """
     115
    102116        printer_name = self._get_printer_name(request)
    103117        # Each job will append a new job attribute group.
     
    155169    def promote_job(self, request, response):
    156170        pass
    157 
    158171
    159172    ##### CUPS Specific Commands
Note: See TracChangeset for help on using the changeset viewer.