Changeset 5c5fe6d for server/lib/gutenbach/ipp/request.py
- Timestamp:
- Dec 17, 2011, 5:52:59 PM (12 years ago)
- Branches:
- no-cups
- Children:
- 287d6ec
- Parents:
- 5d24a81
- git-author:
- Jessica B. Hamrick <jhamrick@…> (12/17/11 17:52:59)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (12/17/11 17:52:59)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/lib/gutenbach/ipp/request.py
rdf51061 r5c5fe6d 11 11 12 12 class Request(): 13 """ 14 From RFC 2565: 13 """From RFC 2565: 15 14 16 15 The encoding for an operation request or response consists of: … … 32 31 | data | q bytes - optional 33 32 ----------------------------------------------- 33 34 34 """ 35 35 … … 39 39 def __init__(self, version=None, operation_id=None, request_id=None, 40 40 attribute_groups=[], data=None, request=None, length=sys.maxint): 41 """ 42 Create a Request. Takes either the segments of the request 41 """Create a Request. Takes either the segments of the request 43 42 separately, or a file handle for the request to parse. If the 44 43 file handle is passed in, all other arguments are ignored. … … 65 64 request -- a file handle that supports the read() 66 65 operation 66 67 67 """ 68 68 … … 198 198 @property 199 199 def packed_value(self): 200 """ 201 Packs the value data into binary data.200 """Packs the value data into binary data. 201 202 202 """ 203 203
Note: See TracChangeset
for help on using the changeset viewer.