Changeset 51
- Timestamp:
- 06/20/13 15:05:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/bletchley-http2py
r47 r51 99 99 if ':' in value: 100 100 host,port = value.split(':',1) 101 port = int(port, 10) 101 102 if port == 443: 102 103 use_ssl = True … … 107 108 108 109 formatted_body = '\n '.join([repr(body[i:i+40]) for i in range(0,len(body),40)]) 109 if formatted_body == b'':110 if formatted_body == '': 110 111 formatted_body = "b''" 111 112
Note: See TracChangeset
for help on using the changeset viewer.