<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-requests.git/requests/structures.py, branch render</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>revert change</title>
<updated>2014-08-25T02:46:46+00:00</updated>
<author>
<name>Kevin Burke</name>
<email>kev@inburke.com</email>
</author>
<published>2014-08-25T02:46:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=f0b9b60f6298ec743f2b470819cd249a041845d3'/>
<id>f0b9b60f6298ec743f2b470819cd249a041845d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for connect timeouts</title>
<updated>2014-08-23T22:12:29+00:00</updated>
<author>
<name>Kevin Burke</name>
<email>kev@inburke.com</email>
</author>
<published>2014-08-23T18:52:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=c2aeaa3959b5754f5b39a45bceff91b196b6c986'/>
<id>c2aeaa3959b5754f5b39a45bceff91b196b6c986</id>
<content type='text'>
Modifies the timeout interface to also accept a tuple (connect, read) which
would be used to set individual connect and read timeouts for Requests. Adds
Advanced documentation explaining the interface and providing guidance for
timeout values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modifies the timeout interface to also accept a tuple (connect, read) which
would be used to set individual connect and read timeouts for Requests. Adds
Advanced documentation explaining the interface and providing guidance for
timeout values.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove unused IteratorProxy</title>
<updated>2014-05-23T15:52:17+00:00</updated>
<author>
<name>Josh Schneier</name>
<email>josh.schneier@gmail.com</email>
</author>
<published>2014-05-23T15:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=7815953cb41450992e487aa300080064999c4e99'/>
<id>7815953cb41450992e487aa300080064999c4e99</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CaseInsensitiveDict now looks like a normal dict</title>
<updated>2014-05-12T19:10:15+00:00</updated>
<author>
<name>Kenneth Reitz</name>
<email>me@kennethreitz.com</email>
</author>
<published>2014-05-12T19:10:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=c15a8f8a3d8fbe943dcae2603c4ceca7f99ff2bf'/>
<id>c15a8f8a3d8fbe943dcae2603c4ceca7f99ff2bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Shorten str for case insensitive dict</title>
<updated>2014-03-23T16:38:37+00:00</updated>
<author>
<name>Avi Das</name>
<email>adas@colgate.edu</email>
</author>
<published>2014-03-23T16:38:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=c2e6fe4d5dfbb2bf4e31d70bb7c3f3eda2435beb'/>
<id>c2e6fe4d5dfbb2bf4e31d70bb7c3f3eda2435beb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix parenthesis typo</title>
<updated>2014-03-22T21:30:22+00:00</updated>
<author>
<name>Avi Das</name>
<email>adas@colgate.edu</email>
</author>
<published>2014-03-22T21:30:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=a3fb689942e8a215858ef0619d0ec95e22186c77'/>
<id>a3fb689942e8a215858ef0619d0ec95e22186c77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add __str__ to case insensitive dict. Logging headers for debugging purposes is often necessary, and the currently logging the headers would be using __repr__ which would log the implementation detail of headers, caseinsensitivedict. Adding str lends a more printing and log friendly implementation for case insentitice dict</title>
<updated>2014-03-22T20:42:23+00:00</updated>
<author>
<name>Avi Das</name>
<email>adas@colgate.edu</email>
</author>
<published>2014-03-22T20:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-requests.git/commit/?id=98ac3df71369a6cf9bde35b8e5c8dc5935b028d0'/>
<id>98ac3df71369a6cf9bde35b8e5c8dc5935b028d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>
</feed>
