~ubuntu-branches/ubuntu/vivid/python-urllib3/vivid-proposed

« back to all changes in this revision

Viewing changes to urllib3/request.py

  • Committer: Package Import Robot
  • Author(s): Barry Warsaw
  • Date: 2014-05-22 18:19:16 UTC
  • mfrom: (4.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20140522181916-a5db5hjgmqsj4f4x
Tags: 1.8-2
* Team upload.
* d/control: 
  - Fix python-urllib3-whl Depends.
  - Fix typo in python-urllib3-whl description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    """
46
46
 
47
47
    _encode_url_methods = set(['DELETE', 'GET', 'HEAD', 'OPTIONS'])
48
 
    _encode_body_methods = set(['PATCH', 'POST', 'PUT', 'TRACE'])
49
48
 
50
49
    def __init__(self, headers=None):
51
50
        self.headers = headers or {}