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
RFC: Fix WantReadError when using pyOpenSSL and Timeouts
5c4e39a934f7e0b0aface295dabcf319f4a5f8ee authored over 11 years ago0adffc86b826096eff04e24a7a5cc1981d2b8dc0 authored over 11 years ago
Fixes the issues mentioned in kennethreitz/requests#749
Prevent WantReadError by using a fileob...
b07cf01a5299200a6f8e10a4bb0d444001551549 authored over 11 years agoeb6994ce7e0fce531959420631ec17c33dfde83c authored over 11 years ago
98b707a88710858590ab48eff37bd2cfca51f8ec authored over 11 years ago
Turns out we didn't need to override HTTPConnection at all. Sets the timeout at
a higher level a...
765ad01c07c6f7a80d32c396f0368538f7e46652 authored over 11 years ago
Since we are calling connect() ourselves, there's no need to set the timeout
again.
2074577ecf4b074984d63dc0bebf26afc217711c authored over 11 years ago
Change the text of some exceptions
b513bf7de26172d8fe7b8c53be89cc92aee6d0e0 authored over 11 years ago
This avoids overloading the term 'request' and brings the lib
in line with Ruby and nginx
13b0ab1c1bbdc33ef3df79445cfe7f02c984708a authored over 11 years ago
842709c06c1a5ca4d315d40fbe2b76cb6c04cf67 authored over 11 years ago
5e6b62278724dd77445d161c6dd9e948b64f6b9f authored over 11 years ago
fc5da812ba13da32a0f8a75ceace709456f179f9 authored over 11 years ago
4d66edb8c5538201509422af58660713f43f621e authored over 11 years ago
2c0e46a5f3ad98be209d55c00c115a95da7ca0c3 authored over 11 years ago
9337a8c1a658a7447c41f72f4ffb673694a96fe9 authored over 11 years ago
829ad99c1964e816cdc9fbdd95122f8f555ac8ee authored over 11 years ago
Update the tests and objects to point to the new place
9e311338fceac0d3a1d14f0ba7855e5c8ff69891 authored over 11 years ago
It looks like the timeout is set on the socket which means it applies equally to
the request and...
125890c1a1ea676c81935e03eb3b004dc85ca12e authored over 11 years ago
This simplifies the comparison logic.
Connect timeouts now follow the below table:
connect = i...
81f2175e51c79b9e8f2b30b06ce1faaee292267d authored over 11 years agoe38b5552a79abda9fa5e7a94514a15d737623cd3 authored over 11 years ago
bc18b9b5bf1c9a240e03e36a979df5c34e120163 authored over 11 years ago
Add better validation in util.py
Convert get_request_timeout and get_connect_timeout to properti...
3d46e7aafb51a5c7e765a2c1a2bb1ba7164ef3de authored over 11 years ago
thanks @pasha-r
9c6239f68f5b2be4608f1aaacb44ddfdae498104 authored over 11 years ago5684b66871c73267abc122bbba19dcf92e67f4d7 authored over 11 years ago
89fc323168ad1f71f55a8b1069013ab4660635d6 authored over 11 years ago
I am unsure how to test _tunnel(). Fixes some bugs
uncovered by more robust test coverage
ee75ccfe3bcb16dbcc5c26b41483bbb5c8b0528b authored over 11 years ago
fba6bb345bfc4d4bdc0103d15477f719909ca839 authored over 11 years ago
Also discard negative values
b151016aad05f9bc4f632acffac45d0f33090014 authored over 11 years ago6cb30ff3b4d09c4189c55f413da2967f12273e2f authored over 11 years ago
Timeouts are initialized to a sentinel value to allow user to specify
None as the timeout value
We need to override the default connect() method so we can set our own connect
timeout. Also add...
7ef776ddd6087ec8c48094d00708e506831ebaf6 authored over 11 years ago
This is just to get the tests passing, it doesn't change behavior
You can now specify Timeout v...
85886d53c053f9b4e55b2f1a308224d89fd98343 authored over 11 years ago18e6e46ec7da085269ad4c7fcf01b13a7c572484 authored over 11 years ago
Small tweaks to the test setup/docs
6d5a8d98c3abc7c90d973a78345ba2c553f00a51 authored over 11 years agob9f95f4dda5804f2a31703a3c717e3c1608c7a82 authored over 11 years ago
8b0cec5804933251d557abfbc721e75ff34c1462 authored over 11 years ago
Conflicts:
CHANGES.rst
8e7f3142b54c4ce07e116d53679d6d3b95fb91c0 authored over 11 years ago
69875bdd4e87d1a9df3d70d8a2b41d47a6246edb authored over 11 years ago
f8544945552fd28a0f915868a6c0bd3fe5e8b2a4 authored over 11 years ago
27923b0bdaef45520fc3d5f2923c43c796ca30ee authored over 11 years ago
Didn't apply cleanly so had to do it manually. Hopefully it didn't break
much.
Related: http://...
0b83c988048cb35f7cca5b9a8a36c3878fa50e86 authored over 11 years agoRelated: https://github.com/facebook/tornado/pull/777
d7a72ef14463baf811d327279a752e6338ea5e74 authored over 11 years ago6eb60ca01cc7aba3c204c276f21b4a24bef1e4c4 authored over 11 years ago
Allow ipv6 address in url
283a90028415f180645ace50c2f8a4ca54ab01eb authored over 11 years agob794413042e8b2ab8ca362b2c8ebd6b8aa5bb9e9 authored over 11 years ago
853723049fbebd0877c0b88494212a354c1248d4 authored over 11 years ago
208ba74c796116bafc95d46dfcf4325449643ab6 authored over 11 years ago
a79e2a277ccfd612ee0ca53f0a03f9361bc97f8a authored over 11 years ago
27eb66972d24672058ed919b5eaf82500aef5f5d authored over 11 years ago
Sane solution to automatic port allocation.
23a5a97deee38fa6675f02fad2800774ee92e69f authored over 11 years agof7f71502c3843778b09650b2a1106b6704a84e00 authored over 11 years ago
4c38048a08f7965d4ca7e509a3df3c73c3559c17 authored over 11 years ago
Handle non-ascii headers in multipart/form-data
74abd30d24fc25db9290e0e02b8a0c668a71902a authored over 11 years agoe0ae8dd4ec8239cfec7334280b53b0b805d914c0 authored over 11 years ago
Moving the Python 2 code on the same line as the condition should trick the
coverage computation...
This is an ugly work-around for facebook/tornado#868: we override one of
their internal function...
4a663acfd6f792109499dabe36ce693ceb7134f3 authored over 11 years ago
Conflicts:
urllib3/fields.py
Unify indentation to 4 spaces.
ebfd021605c8f8d6ee1ce4432961c7a45b862841 authored over 11 years ago58f2295bc3ad6559606de9862535a8bfbb933cc6 authored over 11 years ago
f9db821640593d258c743ee7542dd74a8d3b261c authored over 11 years ago
Second stab at shazow/urllib3#119, now integrated with the RequestField
infrastructure.
68286b8194ed19170a173764a6b08b0f34233217 authored over 11 years ago
Raise special error if connection to proxy fails
01a1085fc2b0e8d74fb23b4aeb1867423668555d authored over 11 years ago51d485a558f81397b360a49ce4c87cc1ddabb61c authored over 11 years ago
f6e23e3b62091c5b57349ddeb87e378dad669b32 authored over 11 years ago
Add request params.
f6e1b941e1a27c9b666c2251bcd9516ac9940326 authored over 11 years ago
A `RequestField` is a data container the encapsulates what data is needed to
build post bodies o...
HTTPs proxy support.
14b89458b72bf39257d2494984c08da14df44b26 authored over 11 years agoc1185465a7cd9a43ff0b38e2e187b67d33dfc612 authored over 11 years ago
b9064e87c4f145320c2cb7bfd358923ec49e8217 authored over 11 years ago
72db03e5a301bab0db677abe1d1de88bef163de7 authored over 11 years ago
4d7f0844e76828e872ac64cb9ebe9bed275d7d0a authored over 11 years ago
bedc00c44cc69a739c89ea2d7f6d22bc31872e62 authored over 11 years ago
70628ce8ebb2c0232f2ef472271c0929558aa82c authored over 11 years ago
741ba322a0450ea97069d546c06033394ffb23c0 authored over 11 years ago
c6629d4612b5e86f154ee0d203d5fad4122904a1 authored over 11 years ago
6487640aa4037cf11c86595a79c1ec2c895bfcfa authored over 11 years ago
02503b53665fb4041419eeb22958e5e26958e9fd authored over 11 years ago
4a18eaf9e5f22df625ab7aa05bbc38387b3c80b4 authored over 11 years ago
a43e344a60f795a516c9effd509f717ff2f2af6d authored over 11 years ago
90400208860ea7a4273bb88fef6976876c74dbfe authored over 11 years ago
26b64130356555f705b6b38823ba5fa9bdca4a11 authored over 11 years ago
a3fc6a054d4c11b9b7623427394060f62ded005f authored over 11 years ago
d2bdbbd1f430afdc1474ebe4304045b892755237 authored over 11 years ago
17aacb60ea360727117d81fc1bf9ccc5f2c3c46b authored over 11 years ago
2eb0541b7b5953ba8df12a5cb6e6e77bfb2adf5c authored over 11 years ago
67b7a63466f4cc233dbd190c7f41d2f352c4b433 authored over 11 years ago
6312aaa7f85681a9220d4a77607d160a12106c59 authored over 11 years ago
65a37483cc97152304d5f964150b9983595ca3d8 authored over 11 years ago
715bbf558a3999eb112bc88541f57f66f7951452 authored over 11 years ago
d15f1b398be76b45cd1b310cb83bbfbe511be785 authored over 11 years ago