<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-requests.git/requests/structures.py, branch test2</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>Fix a few warnings flagged by PyDev</title>
<updated>2013-07-22T08:14:45+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>david.pursehouse@gmail.com</email>
</author>
<published>2013-07-22T08:14:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=4f64938ff02438bf6b1e379371f5182d48397c32'/>
<id>4f64938ff02438bf6b1e379371f5182d48397c32</id>
<content type='text'>
- Unused import of urlparse
- Unnecessary definition of variable
- Incorrect indentation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Unused import of urlparse
- Unnecessary definition of variable
- Incorrect indentation
</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>it`s more pep8 now</title>
<updated>2013-01-27T01:04:12+00:00</updated>
<author>
<name>oczkers</name>
<email>oczkers@gmail.com</email>
</author>
<published>2013-01-27T01:04:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=40a060cf579a7f0996c92eed578148e526d9416f'/>
<id>40a060cf579a7f0996c92eed578148e526d9416f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CHUNKED REQUESTS!</title>
<updated>2013-01-10T06:58:29+00:00</updated>
<author>
<name>Kenneth Reitz</name>
<email>me@kennethreitz.com</email>
</author>
<published>2013-01-10T06:58:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=ef8563ab36c6b52834ee9c35f6f75a424cd9ceef'/>
<id>ef8563ab36c6b52834ee9c35f6f75a424cd9ceef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes #817.</title>
<updated>2012-09-03T03:10:28+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2012-09-03T03:09:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=8081d7b15cf893435c19ea1c0d5e4392a60fe18f'/>
<id>8081d7b15cf893435c19ea1c0d5e4392a60fe18f</id>
<content type='text'>
Use dicts and lists where necessary but accept both dicts and lists of
2-tuples everywhere.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use dicts and lists where necessary but accept both dicts and lists of
2-tuples everywhere.
</pre>
</div>
</content>
</entry>
<entry>
<title>no more multidict</title>
<updated>2012-08-20T15:10:55+00:00</updated>
<author>
<name>Kenneth Reitz</name>
<email>me@kennethreitz.com</email>
</author>
<published>2012-08-20T15:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=c323047dbe5cfb892eada9c37037145738507c5e'/>
<id>c323047dbe5cfb892eada9c37037145738507c5e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MultiDict</title>
<updated>2012-08-20T14:43:16+00:00</updated>
<author>
<name>Kenneth Reitz</name>
<email>me@kennethreitz.com</email>
</author>
<published>2012-08-20T14:43:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=e5fc88ad37418cc7d52c15011c06b10c46b02dff'/>
<id>e5fc88ad37418cc7d52c15011c06b10c46b02dff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Whitespace fixes following PEP8.</title>
<updated>2012-08-16T21:38:35+00:00</updated>
<author>
<name>Locker537</name>
<email>locker537@gmail.com</email>
</author>
<published>2012-08-16T21:33:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=42d0a2169eb894df0fc3c3788925bfd107765597'/>
<id>42d0a2169eb894df0fc3c3788925bfd107765597</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose case-insensitive key access when deleting a key from CaseInsensitiveDict</title>
<updated>2012-05-16T17:58:51+00:00</updated>
<author>
<name>Marcin Wielgoszewski</name>
<email>marcin.wielgoszewski@gmail.com</email>
</author>
<published>2012-05-16T17:58:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=4b7c5dab0e565004d2e46b62d4fcc95737edf33d'/>
<id>4b7c5dab0e565004d2e46b62d4fcc95737edf33d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>blah</title>
<updated>2012-01-23T05:15:25+00:00</updated>
<author>
<name>Kenneth Reitz</name>
<email>me@kennethreitz.com</email>
</author>
<published>2012-01-23T05:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=b0e2e4f284f619536b7f405122bb1a93900cd743'/>
<id>b0e2e4f284f619536b7f405122bb1a93900cd743</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
