Ecosyste.ms: OpenCollective

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

github.com/python-trio/hip

A new Python HTTP client for everybody
https://github.com/python-trio/hip

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
pyopenssl: make getpeercert behave like stdlib

0adffc86b826096eff04e24a7a5cc1981d2b8dc0 authored over 11 years ago
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
Minor fixes

eb6994ce7e0fce531959420631ec17c33dfde83c authored over 11 years ago
Remove timeout clone() duplication

98b707a88710858590ab48eff37bd2cfca51f8ec authored over 11 years ago
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
dont get fancy with exception reraising

765ad01c07c6f7a80d32c396f0368538f7e46652 authored over 11 years ago
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
Rename RequestTimeoutError to ReadTimeoutError

2074577ecf4b074984d63dc0bebf26afc217711c authored over 11 years ago
Re-raise SocketTimeout as a read timeout

Change the text of some exceptions

b513bf7de26172d8fe7b8c53be89cc92aee6d0e0 authored over 11 years ago
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
rename from_legacy

13b0ab1c1bbdc33ef3df79445cfe7f02c984708a authored over 11 years ago
Convert timeout ValueErrors to TimeoutStateErrors

842709c06c1a5ca4d315d40fbe2b76cb6c04cf67 authored over 11 years ago
add section for wmi-oauth api

5e6b62278724dd77445d161c6dd9e948b64f6b9f authored over 11 years ago
add section for wmi-oauth api

fc5da812ba13da32a0f8a75ceace709456f179f9 authored over 11 years ago
add section for wmi-oauth api

4d66edb8c5538201509422af58660713f43f621e authored over 11 years ago
remove Enhanced prefix in connections

2c0e46a5f3ad98be209d55c00c115a95da7ca0c3 authored over 11 years ago
remove Enhanced prefix in connections

9337a8c1a658a7447c41f72f4ffb673694a96fe9 authored over 11 years ago
Use multiple inheritance for RequestTimeoutError

829ad99c1964e816cdc9fbdd95122f8f555ac8ee authored over 11 years ago
Refactor connection objects into connection.py

Update the tests and objects to point to the new place

9e311338fceac0d3a1d14f0ba7855e5c8ff69891 authored over 11 years ago
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
Fix test coverage for Python 3

125890c1a1ea676c81935e03eb3b004dc85ca12e authored over 11 years ago
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
Use coveragerc properly

e38b5552a79abda9fa5e7a94514a15d737623cd3 authored over 11 years ago
Python 2.6 compatibility

bc18b9b5bf1c9a240e03e36a979df5c34e120163 authored over 11 years ago
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
remove moved comment

3d46e7aafb51a5c7e765a2c1a2bb1ba7164ef3de authored over 11 years ago
source_address not supported in python2.6

thanks @pasha-r

9c6239f68f5b2be4608f1aaacb44ddfdae498104 authored over 11 years ago
fix the tests

5684b66871c73267abc122bbba19dcf92e67f4d7 authored over 11 years ago
initial work on porting start/stop to the Timeout class

89fc323168ad1f71f55a8b1069013ab4660635d6 authored over 11 years ago
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
Add util.Timeout.__str__

ee75ccfe3bcb16dbcc5c26b41483bbb5c8b0528b authored over 11 years ago
Add an EnhancedHTTPSConnection with connect timeout support

fba6bb345bfc4d4bdc0103d15477f719909ca839 authored over 11 years ago
Add more tests around util.Timeout

Also discard negative values

b151016aad05f9bc4f632acffac45d0f33090014 authored over 11 years ago
Clarify documentation of util.Timeout

6cb30ff3b4d09c4189c55f413da2967f12273e2f authored over 11 years ago
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
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
revert unnecessary change

7ef776ddd6087ec8c48094d00708e506831ebaf6 authored over 11 years ago
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
Added a side-effect import of Queue for #229.

18e6e46ec7da085269ad4c7fcf01b13a7c572484 authored over 11 years ago
Merge pull request #228 from t-8ch/tweak-tests

Small tweaks to the test setup/docs

6d5a8d98c3abc7c90d973a78345ba2c553f00a51 authored over 11 years ago
CHANGES version bump.

b9f95f4dda5804f2a31703a3c717e3c1608c7a82 authored over 11 years ago
Version bump.

8b0cec5804933251d557abfbc721e75ff34c1462 authored over 11 years ago
Merge branch 'master' into release

Conflicts:
CHANGES.rst

d50eb622812c942f996ae221a4ebfa25dd09241b authored over 11 years ago
Code style.

8e7f3142b54c4ce07e116d53679d6d3b95fb91c0 authored over 11 years ago
fix docs about tests

69875bdd4e87d1a9df3d70d8a2b41d47a6246edb authored over 11 years ago
we are testing py32

f8544945552fd28a0f915868a6c0bd3fe5e8b2a4 authored over 11 years ago
don't persist code coverage

27923b0bdaef45520fc3d5f2923c43c796ca30ee authored over 11 years ago
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
Fixed tests for OSX 10.6.

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

d7a72ef14463baf811d327279a752e6338ea5e74 authored over 11 years ago
Added #203 to CHANGES.

6eb60ca01cc7aba3c204c276f21b4a24bef1e4c4 authored over 11 years ago
Merge pull request #203 from t-8ch/allow_ipv6_address_in_url

Allow ipv6 address in url

283a90028415f180645ace50c2f8a4ca54ab01eb authored over 11 years ago
add basic test for ipv6 addresses in URLs

b794413042e8b2ab8ca362b2c8ebd6b8aa5bb9e9 authored over 11 years ago
strip both brackets at once

853723049fbebd0877c0b88494212a354c1248d4 authored over 11 years ago
strip brackets from ipv6 addresses

208ba74c796116bafc95d46dfcf4325449643ab6 authored over 11 years ago
add tests for invalid ipv6 URL

a79e2a277ccfd612ee0ca53f0a03f9361bc97f8a authored over 11 years ago
dummyserver: listen also listen on v6 address

27eb66972d24672058ed919b5eaf82500aef5f5d authored over 11 years ago
Merge pull request #226 from schlamar/port-alloc-v2

Sane solution to automatic port allocation.

23a5a97deee38fa6675f02fad2800774ee92e69f authored over 11 years ago
Sane solution to automatic port allocation.

f7f71502c3843778b09650b2a1106b6704a84e00 authored over 11 years ago
Added #119 to CHANGES.

4c38048a08f7965d4ca7e509a3df3c73c3559c17 authored over 11 years ago
Merge pull request #223 from gagern/issue119b

Handle non-ascii headers in multipart/form-data

74abd30d24fc25db9290e0e02b8a0c668a71902a authored over 11 years ago
Less hackish way to exclude Python 2 code from coverage.

e0ae8dd4ec8239cfec7334280b53b0b805d914c0 authored over 11 years ago
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
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
Sad time.sleep for tests :(

4a663acfd6f792109499dabe36ce693ceb7134f3 authored over 11 years ago
Merge branch 'indentation' into issue119b

Conflicts:
urllib3/fields.py

8a9c72a20ad1a1a44ea05a91f1fdf1060d7441b7 authored over 11 years ago
Merge pull request #224 from gagern/indentation

Unify indentation to 4 spaces.

ebfd021605c8f8d6ee1ce4432961c7a45b862841 authored over 11 years ago
Unify indentation to 4 spaces.

58f2295bc3ad6559606de9862535a8bfbb933cc6 authored over 11 years ago
Move main logic of _render_part to stand-alone function format_header_param.

f9db821640593d258c743ee7542dd74a8d3b261c authored over 11 years ago
Handle non-ascii headers in multipart/form-data

Second stab at shazow/urllib3#119, now integrated with the RequestField
infrastructure.

7daa44a2419d84906bba70ef6fd859ff29f944dd authored over 11 years ago
Added #221 to CHANGES

68286b8194ed19170a173764a6b08b0f34233217 authored over 11 years ago
Merge pull request #221 from schlamar/proxy-error

Raise special error if connection to proxy fails

01a1085fc2b0e8d74fb23b4aeb1867423668555d authored over 11 years ago
Raise special error if connection to proxy fails

51d485a558f81397b360a49ce4c87cc1ddabb61c authored over 11 years ago
Added #220 and #170 to CHANGES.

f6e23e3b62091c5b57349ddeb87e378dad669b32 authored over 11 years ago
Merge pull request #220 from sholsapp/add-request-params

Add request params.

f6e1b941e1a27c9b666c2251bcd9516ac9940326 authored over 11 years ago
Added concept of a `RequestField`.

A `RequestField` is a data container the encapsulates what data is needed to
build post bodies o...

21db32727079b2cd3dccebcb988420e396df3903 authored over 11 years ago
Merge pull request #170 from schlamar/proxy-rebase-fix

HTTPs proxy support.

14b89458b72bf39257d2494984c08da14df44b26 authored over 11 years ago
Indentation fixes and some clean up.

c1185465a7cd9a43ff0b38e2e187b67d33dfc612 authored over 11 years ago
Removed irrelevant TODO comments

b9064e87c4f145320c2cb7bfd358923ec49e8217 authored over 11 years ago
Simplified ProxyServerThread.

72db03e5a301bab0db677abe1d1de88bef163de7 authored over 11 years ago
Moved all connection-related block from _new_conn() to a helper function

4d7f0844e76828e872ac64cb9ebe9bed275d7d0a authored over 11 years ago
Renamed proxy* arguments for HTTPConnectionPool constructor to mark them private

bedc00c44cc69a739c89ea2d7f6d22bc31872e62 authored over 11 years ago
ProxyManager PEP8 love

70628ce8ebb2c0232f2ef472271c0929558aa82c authored over 11 years ago
Allocate ports for tests automatically.

741ba322a0450ea97069d546c06033394ffb23c0 authored over 11 years ago
Fix deadlock in Tornado threads (single-threaded now)

c6629d4612b5e86f154ee0d203d5fad4122904a1 authored over 11 years ago
Test cert verification via proxy

6487640aa4037cf11c86595a79c1ec2c895bfcfa authored over 11 years ago
Removed unnecessary pool.proxy and pool.proxy_headers assignments in ProxyManager

02503b53665fb4041419eeb22958e5e26958e9fd authored over 11 years ago
Remove unncecessary proxy code from PoolManager

4a18eaf9e5f22df625ab7aa05bbc38387b3c80b4 authored over 11 years ago
Fixed test coverage.

a43e344a60f795a516c9effd509f717ff2f2af6d authored over 11 years ago
increase timeouts to work on pypy

90400208860ea7a4273bb88fef6976876c74dbfe authored over 11 years ago
fix test_proxy_verified

26b64130356555f705b6b38823ba5fa9bdca4a11 authored over 11 years ago
Slight code refactoring and simplification, as suggested by @wolever

a3fc6a054d4c11b9b7623427394060f62ded005f authored over 11 years ago
Changed some wording in tests (suggested by @t-8ch)

d2bdbbd1f430afdc1474ebe4304045b892755237 authored over 11 years ago
Another test diagnostic message change

17aacb60ea360727117d81fc1bf9ccc5f2c3c46b authored over 11 years ago
Some code cleanup

2eb0541b7b5953ba8df12a5cb6e6e77bfb2adf5c authored over 11 years ago
Added proxy property to PoolManager

67b7a63466f4cc233dbd190c7f41d2f352c4b433 authored over 11 years ago
Fixed comments

6312aaa7f85681a9220d4a77607d160a12106c59 authored over 11 years ago
Added old ProxyManager API compatibility

65a37483cc97152304d5f964150b9983595ca3d8 authored over 11 years ago
Tests are python 3.2 compatible now

715bbf558a3999eb112bc88541f57f66f7951452 authored over 11 years ago
Added docs

d15f1b398be76b45cd1b310cb83bbfbe511be785 authored over 11 years ago