Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/urllib3/urllib3

urllib3 is a user-friendly HTTP client library for Python
https://github.com/urllib3/urllib3

fix if spacing

d3f76171f491d9cfc83d2c3f01bb8c66a34eea58 authored over 11 years ago by Kevin Burke <[email protected]>
inline some exception raises

avoid allocating the memory for the obj

4ffbdc60e005000d0af08555833c99287a326285 authored over 11 years ago by Kevin Burke <[email protected]>
use python 2.6-compatible set syntax

5f21bada3c1509117dccf232b519184278bb1e16 authored over 11 years ago by Kevin Burke <[email protected]>
Add link

2de3288fc2c1bca79fa52fc63608bba168f5558c authored over 11 years ago by Kevin Burke <[email protected]>
Catch zero read timeouts in Python 3

See the inline comments for an explanation of what this change does.

a17cee78202a4ee3fccc06c6d430d83cf1da3624 authored over 11 years ago by Kevin Burke <[email protected]>
Also call ReadTimeout on sockets that receive an EAGAIN

In the event the socket timeout is set to zero, and recv() is called on it, the
socket will rais...

102589b91350030d4a0a2df73bbc1ef406b9c051 authored over 11 years ago by Kevin Burke <[email protected]>
Factor out REDIRECT_STATUSES.

fc116510ebaa61d4754c6e4a1c3368ac3a71b1d2 authored over 11 years ago by Andrey Petrov <[email protected]>
Merge pull request #243 from oohlaf/permanent-redirect

Support redirect on 308

4f14bab32078d6f3ac2c371c0c921c9ab0ef954a authored over 11 years ago by Andrey Petrov <[email protected]>
Code style.

b31b4affb49b9b88a1a8215a25711ae93144940b authored over 11 years ago by Andrey Petrov <[email protected]>
Export Timeout to the urllib3 root namespace, and CHANGES.

bd5986cdf4746c556be5a9463c7a01ccc48697bc authored over 11 years ago by Andrey Petrov <[email protected]>
Merge pull request #231 from kevinburke/connect_timeout

Add a Timeout class.

f545dcfd1c220c2495e3286335ab506572beb5cf authored over 11 years ago by Andrey Petrov <[email protected]>
Support redirect on 308

As http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-07.html has
been accepted by I...

a4612bbd90e0ba6ab67ce9d26a5e171922e09d98 authored over 11 years ago by Olaf Conradi <[email protected]>
Update CONTRIBUTORS

e679ff7904f14332515e640a6835ed65bb44a6e6 authored over 11 years ago by Kevin Burke <[email protected]>
Fixes suggested by @shazow during code review

392e7c4de1f5c5a5eb7998fd373f1693e8529fb8 authored over 11 years ago by Kevin Burke <[email protected]>
remove extraneous comments

02929a848a3f1bff3849b2a7eb82d9b58138f348 authored over 11 years ago by Kevin Burke <[email protected]>
Document the behavior of read/total timeouts

They are not the timeout for a complete response, they are
the timeout in between reads on the s...

15fc7c271ceacdfdcd693a182c595761a3a02e86 authored over 11 years ago by Kevin Burke <[email protected]>
formatting consistency

a867ec5b16f7b87a735af1b0a93f477e077ad441 authored over 11 years ago by Kevin Burke <[email protected]>
fix another doc typo

c76299e625310b3ab7065aa3b0ab239c5584beca authored over 11 years ago by Kevin Burke <[email protected]>
typo

8dc78b8c86b5a3a6f84483b9be15bd103c704159 authored over 11 years ago by Kevin Burke <[email protected]>
Add usage example

127ac6351ac39d45438fca6b7902e2b3ff56aa28 authored over 11 years ago by Kevin Burke <[email protected]>
Merge master into branch.

Resolve strict python3 merge conflicts

f922c9f00f350b2a4e4a0726d0ea5b76a6a7403a authored over 11 years ago by Kevin Burke <[email protected]>
Clean up the documentation for timeouts

90037e54ac19ae9c1fc0801f29ed5b98aec9a2ab authored over 11 years ago by Kevin Burke <[email protected]>
Merge pull request #239 from shazow/238-deprecate-strict

Ignore strict Connection param in Py3.

4756e31adc007d64a5eb5bc62009a26e272a2c51 authored over 11 years ago by Andrey Petrov <[email protected]>
Ignore strict Connection param in Py3.

a719b1545777f0286563fe2aa968d5443892bc6a authored over 11 years ago by Andrey Petrov <[email protected]>
Updated ConnectionPool example in doc (fixed #237).

ffcdce8d1979c64ac0d99a34de629626f28253b8 authored over 11 years ago by Andrey Petrov <[email protected]>
Merge pull request #235 from t-8ch/incorrect_proxyerror

don't raise ProxyError in VerifiedHTTPSConnection

28b7af70619956b0eaae10ca31bfc2a618d07cef authored over 11 years ago by Andrey Petrov <[email protected]>
don't raise ProxyError in VerifiedHTTPSConnection

Reverts a part of 51d485a (introduced in #221)

Before this path SocketErrors were always wrappe...

e74080c073a78a3efb5f242e30d964d6fdc061a2 authored over 11 years ago by Thomas Weißschuh <[email protected]>
Merge pull request #234 from tmclane/dont_close_none

avoid calling 'close' on a None object

f87538641f5825e54d08a341102e99e8241166e8 authored over 11 years ago by Andrey Petrov <[email protected]>
avoid calling 'close' on a None object

56fc98f9894f3a608e60a05d9f18441c894a8f8d authored over 11 years ago by Travis McLane <[email protected]>
Further update comment

4b2be08a63f58d0c859cd8104a89b359f0b1b009 authored over 11 years ago by Kevin Burke <[email protected]>
Update Timeout class interface

make clearer which values should be used and not used

de29aac84f0537a1aeb22a1100a5579a99fb17a4 authored over 11 years ago by Kevin Burke <[email protected]>
Refactor Timeout start/stop behavior

Feedback from @wolever. Also, just catch SocketTimeouts, don't worry about
SocketErrors. Weirdly...

45a02399b89fd8ffd71811ae359bacfaf4f25113 authored over 11 years ago by Kevin Burke <[email protected]>
Merge pull request #233 from t-8ch/pyopenssl_want_read_error

RFC: Fix WantReadError when using pyOpenSSL and Timeouts

5c4e39a934f7e0b0aface295dabcf319f4a5f8ee authored over 11 years ago by Andrey Petrov <[email protected]>
pyopenssl: make getpeercert behave like stdlib

0adffc86b826096eff04e24a7a5cc1981d2b8dc0 authored over 11 years ago by Thomas Weißschuh <[email protected]>
pyopenssl: fix WantReadError when using a timeout

Fixes the issues mentioned in kennethreitz/requests#749

Prevent WantReadError by using a fileob...

b07cf01a5299200a6f8e10a4bb0d444001551549 authored over 11 years ago by Thomas Weißschuh <[email protected]>
Minor fixes

eb6994ce7e0fce531959420631ec17c33dfde83c authored over 11 years ago by Kevin Burke <[email protected]>
Remove timeout clone() duplication

98b707a88710858590ab48eff37bd2cfca51f8ec authored over 11 years ago by Kevin Burke <[email protected]>
Whoops

Turns out we didn't need to override HTTPConnection at all. Sets the timeout at
a higher level a...

ea13ad8032da9b8b05c16a9d494999340d2f1ebd authored over 11 years ago by Kevin Burke <[email protected]>
dont get fancy with exception reraising

765ad01c07c6f7a80d32c396f0368538f7e46652 authored over 11 years ago by Kevin Burke <[email protected]>
Remove duplicate call to settimeout

Since we are calling connect() ourselves, there's no need to set the timeout
again.

a0fbe7dab1305dcfeeaad2b2bc2e677915a66ae3 authored over 11 years ago by Kevin Burke <[email protected]>
Rename RequestTimeoutError to ReadTimeoutError

2074577ecf4b074984d63dc0bebf26afc217711c authored over 11 years ago by Kevin Burke <[email protected]>
Re-raise SocketTimeout as a read timeout

Change the text of some exceptions

b513bf7de26172d8fe7b8c53be89cc92aee6d0e0 authored over 11 years ago by Kevin Burke <[email protected]>
Rename request timeout to read timeout

This avoids overloading the term 'request' and brings the lib
in line with Ruby and nginx

e1416c471482e35676e67822a8e79d75b8c44f44 authored over 11 years ago by Kevin Burke <[email protected]>
rename from_legacy

13b0ab1c1bbdc33ef3df79445cfe7f02c984708a authored over 11 years ago by Kevin Burke <[email protected]>
Convert timeout ValueErrors to TimeoutStateErrors

842709c06c1a5ca4d315d40fbe2b76cb6c04cf67 authored over 11 years ago by Kevin Burke <[email protected]>
add section for wmi-oauth api

5e6b62278724dd77445d161c6dd9e948b64f6b9f authored over 11 years ago by Pavel Kirichenko <[email protected]>
add section for wmi-oauth api

fc5da812ba13da32a0f8a75ceace709456f179f9 authored over 11 years ago by Pavel Kirichenko <[email protected]>
add section for wmi-oauth api

4d66edb8c5538201509422af58660713f43f621e authored over 11 years ago by Pavel Kirichenko <[email protected]>
remove Enhanced prefix in connections

2c0e46a5f3ad98be209d55c00c115a95da7ca0c3 authored over 11 years ago by Pavel Kirichenko <[email protected]>
remove Enhanced prefix in connections

9337a8c1a658a7447c41f72f4ffb673694a96fe9 authored over 11 years ago by Pavel Kirichenko <[email protected]>
Use multiple inheritance for RequestTimeoutError

829ad99c1964e816cdc9fbdd95122f8f555ac8ee authored over 11 years ago by Kevin Burke <[email protected]>
Refactor connection objects into connection.py

Update the tests and objects to point to the new place

9e311338fceac0d3a1d14f0ba7855e5c8ff69891 authored over 11 years ago by Kevin Burke <[email protected]>
Set the legacy timeout on the request and the connect

It looks like the timeout is set on the socket which means it applies equally to
the request and...

cf9fe0b196f1c0f971fc3d148aabaa5287d5e6a0 authored over 11 years ago by Kevin Burke <[email protected]>
Fix test coverage for Python 3

125890c1a1ea676c81935e03eb3b004dc85ca12e authored over 11 years ago by Kevin Burke <[email protected]>
Timeout.total is a number or None

This simplifies the comparison logic.

Connect timeouts now follow the below table:

connect = i...

81f2175e51c79b9e8f2b30b06ce1faaee292267d authored over 11 years ago by Kevin Burke <[email protected]>
Use coveragerc properly

e38b5552a79abda9fa5e7a94514a15d737623cd3 authored over 11 years ago by Kevin Burke <[email protected]>
Python 2.6 compatibility

bc18b9b5bf1c9a240e03e36a979df5c34e120163 authored over 11 years ago by Kevin Burke <[email protected]>
Add better test coverage

Add better validation in util.py
Convert get_request_timeout and get_connect_timeout to properti...

888c0ddab02daeb0dffd0709b73455657280d5bb authored over 11 years ago by Kevin Burke <[email protected]>
remove moved comment

3d46e7aafb51a5c7e765a2c1a2bb1ba7164ef3de authored over 11 years ago by Kevin Burke <[email protected]>
source_address not supported in python2.6

thanks @pasha-r

9c6239f68f5b2be4608f1aaacb44ddfdae498104 authored over 11 years ago by Kevin Burke <[email protected]>
fix the tests

5684b66871c73267abc122bbba19dcf92e67f4d7 authored over 11 years ago by Kevin Burke <[email protected]>
initial work on porting start/stop to the Timeout class

89fc323168ad1f71f55a8b1069013ab4660635d6 authored over 11 years ago by Kevin Burke <[email protected]>
Add better test coverage

I am unsure how to test _tunnel(). Fixes some bugs
uncovered by more robust test coverage

b4e5a8f491eb45ef9bfac5b24b118ad022babf89 authored over 11 years ago by Kevin Burke <[email protected]>
Add util.Timeout.__str__

ee75ccfe3bcb16dbcc5c26b41483bbb5c8b0528b authored over 11 years ago by Kevin Burke <[email protected]>
Add an EnhancedHTTPSConnection with connect timeout support

fba6bb345bfc4d4bdc0103d15477f719909ca839 authored over 11 years ago by Kevin Burke <[email protected]>
Add more tests around util.Timeout

Also discard negative values

b151016aad05f9bc4f632acffac45d0f33090014 authored over 11 years ago by Kevin Burke <[email protected]>
Clarify documentation of util.Timeout

6cb30ff3b4d09c4189c55f413da2967f12273e2f authored over 11 years ago by Kevin Burke <[email protected]>
Update PR with code review feedback

Timeouts are initialized to a sentinel value to allow user to specify
None as the timeout value

fee28dc7de6e9939eda57798aa791f4307cfb1db authored over 11 years ago by Kevin Burke <[email protected]>
Add an EnhancedHTTPConnection class

We need to override the default connect() method so we can set our own connect
timeout. Also add...

27fffe19531d00636930a4de9ad39c84c19b9681 authored over 11 years ago by Kevin Burke <[email protected]>
revert unnecessary change

7ef776ddd6087ec8c48094d00708e506831ebaf6 authored over 11 years ago by Kevin Burke <[email protected]>
Add rudimentary Timeout class

This is just to get the tests passing, it doesn't change behavior

You can now specify Timeout v...

85886d53c053f9b4e55b2f1a308224d89fd98343 authored over 11 years ago by Kevin Burke <[email protected]>
Added a side-effect import of Queue for #229.

18e6e46ec7da085269ad4c7fcf01b13a7c572484 authored over 11 years ago by Andrey Petrov <[email protected]>
Merge pull request #228 from t-8ch/tweak-tests

Small tweaks to the test setup/docs

6d5a8d98c3abc7c90d973a78345ba2c553f00a51 authored over 11 years ago by Andrey Petrov <[email protected]>
CHANGES version bump.

b9f95f4dda5804f2a31703a3c717e3c1608c7a82 authored over 11 years ago by Andrey Petrov <[email protected]>
Version bump.

8b0cec5804933251d557abfbc721e75ff34c1462 authored over 11 years ago by Andrey Petrov <[email protected]>
Merge branch 'master' into release

Conflicts:
CHANGES.rst

d50eb622812c942f996ae221a4ebfa25dd09241b authored over 11 years ago by Andrey Petrov <[email protected]>
Code style.

8e7f3142b54c4ce07e116d53679d6d3b95fb91c0 authored over 11 years ago by Andrey Petrov <[email protected]>
fix docs about tests

69875bdd4e87d1a9df3d70d8a2b41d47a6246edb authored over 11 years ago by Thomas Weißschuh <[email protected]>
we are testing py32

f8544945552fd28a0f915868a6c0bd3fe5e8b2a4 authored over 11 years ago by Thomas Weißschuh <[email protected]>
don't persist code coverage

27923b0bdaef45520fc3d5f2923c43c796ca30ee authored over 11 years ago by Thomas Weißschuh <[email protected]>
Applied patch mentioned in #227.

Didn't apply cleanly so had to do it manually. Hopefully it didn't break
much.

Related: http://...

0b83c988048cb35f7cca5b9a8a36c3878fa50e86 authored over 11 years ago by Andrey Petrov <[email protected]>
Fixed tests for OSX 10.6.

Related: https://github.com/facebook/tornado/pull/777

d7a72ef14463baf811d327279a752e6338ea5e74 authored over 11 years ago by Andrey Petrov <[email protected]>
Added #203 to CHANGES.

6eb60ca01cc7aba3c204c276f21b4a24bef1e4c4 authored over 11 years ago by Andrey Petrov <[email protected]>
Merge pull request #203 from t-8ch/allow_ipv6_address_in_url

Allow ipv6 address in url

283a90028415f180645ace50c2f8a4ca54ab01eb authored over 11 years ago by Andrey Petrov <[email protected]>
add tests for invalid ipv6 URL

a79e2a277ccfd612ee0ca53f0a03f9361bc97f8a authored over 11 years ago by Thomas Weißschuh <[email protected]>
strip both brackets at once

853723049fbebd0877c0b88494212a354c1248d4 authored over 11 years ago by Thomas Weißschuh <[email protected]>
strip brackets from ipv6 addresses

208ba74c796116bafc95d46dfcf4325449643ab6 authored over 11 years ago by Thomas Weißschuh <[email protected]>
add basic test for ipv6 addresses in URLs

b794413042e8b2ab8ca362b2c8ebd6b8aa5bb9e9 authored over 11 years ago by Thomas Weißschuh <[email protected]>
dummyserver: listen also listen on v6 address

27eb66972d24672058ed919b5eaf82500aef5f5d authored over 11 years ago by Thomas Weißschuh <[email protected]>
Merge pull request #226 from schlamar/port-alloc-v2

Sane solution to automatic port allocation.

23a5a97deee38fa6675f02fad2800774ee92e69f authored over 11 years ago by Andrey Petrov <[email protected]>
Sane solution to automatic port allocation.

f7f71502c3843778b09650b2a1106b6704a84e00 authored over 11 years ago by schlamar <[email protected]>
Added #119 to CHANGES.

4c38048a08f7965d4ca7e509a3df3c73c3559c17 authored over 11 years ago by Andrey Petrov <[email protected]>
Merge pull request #223 from gagern/issue119b

Handle non-ascii headers in multipart/form-data

74abd30d24fc25db9290e0e02b8a0c668a71902a authored over 11 years ago by Andrey Petrov <[email protected]>
Less hackish way to exclude Python 2 code from coverage.

e0ae8dd4ec8239cfec7334280b53b0b805d914c0 authored over 11 years ago by Martin von Gagern <[email protected]>
Avoid incomplete coverage due to Python 2 compatibility.

Moving the Python 2 code on the same line as the condition should trick the
coverage computation...

69673300b462a784d7f92782efabc31abb541437 authored over 11 years ago by Martin von Gagern <[email protected]>
Simulate a standards-compliant web server.

This is an ugly work-around for facebook/tornado#868: we override one of
their internal function...

e11e03628f8b82021a74ba7f5b39ce9ad9011382 authored over 11 years ago by Martin von Gagern <[email protected]>
Sad time.sleep for tests :(

4a663acfd6f792109499dabe36ce693ceb7134f3 authored over 11 years ago by Andrey Petrov <[email protected]>
Merge branch 'indentation' into issue119b

Conflicts:
urllib3/fields.py

8a9c72a20ad1a1a44ea05a91f1fdf1060d7441b7 authored over 11 years ago by Martin von Gagern <[email protected]>
Merge pull request #224 from gagern/indentation

Unify indentation to 4 spaces.

ebfd021605c8f8d6ee1ce4432961c7a45b862841 authored over 11 years ago by Andrey Petrov <[email protected]>
Unify indentation to 4 spaces.

58f2295bc3ad6559606de9862535a8bfbb933cc6 authored over 11 years ago by Martin von Gagern <[email protected]>