<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-requests.git/requests/utils.py, branch 2.0</title>
<subtitle>github.com: kennethreitz/requests.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/'/>
<entry>
<title>@1434 Fix https://github.com/kennethreitz/requests/issues/1434</title>
<updated>2013-06-25T22:38:59+00:00</updated>
<author>
<name>Chen Huang</name>
<email>chen_huang@apple.com</email>
</author>
<published>2013-06-25T22:38:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=90837359632b43aba7900b65b42744715f0b739a'/>
<id>90837359632b43aba7900b65b42744715f0b739a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use urllib to retrieve environment proxies.</title>
<updated>2013-06-01T01:19:34+00:00</updated>
<author>
<name>James Clarke</name>
<email>james@plexapp.com</email>
</author>
<published>2013-06-01T01:19:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=93be6916f98f191eee9ac053994f61e99869735b'/>
<id>93be6916f98f191eee9ac053994f61e99869735b</id>
<content type='text'>
This has the added benefit of including proxies defined by the OS X System Configuration framework and in the Windows registry, rather than only checking os.environ.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has the added benefit of including proxies defined by the OS X System Configuration framework and in the Windows registry, rather than only checking os.environ.</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor merge_kwargs for clarity and to fix a few bugs</title>
<updated>2013-05-21T01:20:51+00:00</updated>
<author>
<name>Chase Sterling</name>
<email>chase.sterling@gmail.com</email>
</author>
<published>2013-05-02T16:46:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=98114245c686ef7cd62c9932071fd972ad3efedb'/>
<id>98114245c686ef7cd62c9932071fd972ad3efedb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite CaseInsensitiveDict to work correctly/sanely</title>
<updated>2013-04-30T19:52:27+00:00</updated>
<author>
<name>Colin Dunklau</name>
<email>colin.dunklau@gmail.com</email>
</author>
<published>2013-04-30T19:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=f7596c75dce4e87ab83bdf74e8f120a4b1a5ff03'/>
<id>f7596c75dce4e87ab83bdf74e8f120a4b1a5ff03</id>
<content type='text'>
Fixes #649 and #1329 by making Session.headers a CaseInsensitiveDict,
and fixing the implementation of CID. Credit for the brilliant idea
to map `lowercased_key -&gt; (cased_key, mapped_value)` goes to
@gazpachoking, thanks a bunch.

Changes from original implementation of CaseInsensitiveDict:

1.  CID is rewritten as a subclass of `collections.MutableMapping`.
2.  CID remembers the case of the last-set key, but `__setitem__`
    and `__delitem__` will handle keys without respect to case.
3.  CID returns the key case as remembered for the `keys`, `items`,
    and `__iter__` methods.
4.  Query operations (`__getitem__` and `__contains__`) are done in
    a case-insensitive manner: `cid['foo']` and `cid['FOO']` will
    return the same value.
5.  The constructor as well as `update` and `__eq__` have undefined
    behavior when given multiple keys that have the same `lower()`.
6.  The new method `lower_items` is like `iteritems`, but keys are
    all lowercased.
7.  CID raises `KeyError` for `__getitem__` as normal dicts do. The
    old implementation returned
6.  The `__repr__` now makes it obvious that it's not a normal dict.

See PR #1333 for the discussions that lead up to this implementation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #649 and #1329 by making Session.headers a CaseInsensitiveDict,
and fixing the implementation of CID. Credit for the brilliant idea
to map `lowercased_key -&gt; (cased_key, mapped_value)` goes to
@gazpachoking, thanks a bunch.

Changes from original implementation of CaseInsensitiveDict:

1.  CID is rewritten as a subclass of `collections.MutableMapping`.
2.  CID remembers the case of the last-set key, but `__setitem__`
    and `__delitem__` will handle keys without respect to case.
3.  CID returns the key case as remembered for the `keys`, `items`,
    and `__iter__` methods.
4.  Query operations (`__getitem__` and `__contains__`) are done in
    a case-insensitive manner: `cid['foo']` and `cid['FOO']` will
    return the same value.
5.  The constructor as well as `update` and `__eq__` have undefined
    behavior when given multiple keys that have the same `lower()`.
6.  The new method `lower_items` is like `iteritems`, but keys are
    all lowercased.
7.  CID raises `KeyError` for `__getitem__` as normal dicts do. The
    old implementation returned
6.  The `__repr__` now makes it obvious that it's not a normal dict.

See PR #1333 for the discussions that lead up to this implementation
</pre>
</div>
</content>
</entry>
<entry>
<title>Use streaming decompression feature of urllib3.</title>
<updated>2013-04-10T06:08:33+00:00</updated>
<author>
<name>schlamar</name>
<email>marc.schlaich@gmail.com</email>
</author>
<published>2013-04-10T06:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=59f916ca4a6a8e55528988cfc1bee445e71c4602'/>
<id>59f916ca4a6a8e55528988cfc1bee445e71c4602</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix get_auth_from_url</title>
<updated>2013-03-22T04:15:06+00:00</updated>
<author>
<name>Kenneth Reitz</name>
<email>me@kennethreitz.com</email>
</author>
<published>2013-03-22T04:15:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=030b9763b5dd24bbde7938d5aafb63f411d75b6a'/>
<id>030b9763b5dd24bbde7938d5aafb63f411d75b6a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>get_auth_from_url return None if nothing is found</title>
<updated>2013-03-22T04:13:08+00:00</updated>
<author>
<name>Kenneth Reitz</name>
<email>me@kennethreitz.com</email>
</author>
<published>2013-03-22T04:13:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=03a3ca500491ed55c90255398fa514be017efe10'/>
<id>03a3ca500491ed55c90255398fa514be017efe10</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure session cookies do not overwrite explicit request cookies</title>
<updated>2013-02-16T05:56:59+00:00</updated>
<author>
<name>Chase Sterling</name>
<email>chase.sterling@gmail.com</email>
</author>
<published>2013-02-16T05:56:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=3f86e22a07fb1bd91c70d3c487efbadb55f6b36a'/>
<id>3f86e22a07fb1bd91c70d3c487efbadb55f6b36a</id>
<content type='text'>
Implement RequestsCookieJar.copy
Use RequestsCookieJar.update when merging cookiejars
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement RequestsCookieJar.copy
Use RequestsCookieJar.update when merging cookiejars
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Proxy-Auth header when proxies have credentials.</title>
<updated>2013-02-06T18:40:35+00:00</updated>
<author>
<name>Cory Benfield</name>
<email>lukasaoz@gmail.com</email>
</author>
<published>2013-02-06T18:24:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=d437c338d0bfe4a88d9c3efa1a1802603ee9cc97'/>
<id>d437c338d0bfe4a88d9c3efa1a1802603ee9cc97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>shorten filename by os.path.basename in guess_filename(obj)</title>
<updated>2013-01-30T23:33:43+00:00</updated>
<author>
<name>Christopher Bare</name>
<email>chris.bare@sagebase.org</email>
</author>
<published>2013-01-30T23:33:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=9ff8cbe5fb5e917b95dcbd6bc81e43d35dcbbb16'/>
<id>9ff8cbe5fb5e917b95dcbd6bc81e43d35dcbbb16</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
