Stefan Tjarks
ffc4dca502
ClientResponse.release isn't a coroutine
...
Therefore it should not be one in the MockClientResponse class.
d0af887e31/aiohttp/client_reqrep.py (L832)
2018-09-26 00:30:11 -07:00
Luiz Menezes
e42746fa88
Bump version to 2.0.1
v2.0.1
2018-09-23 15:25:04 -03:00
Luiz Menezes
03b1dd9faa
Merge pull request #395 from kevin1024/fix-py34
...
Fix py34
2018-09-22 23:16:14 -03:00
Luiz Menezes
f2a79d3fcc
Add py34 to CI builds
2018-09-22 17:30:21 -03:00
Luiz Menezes
287ea4b06e
Fix cassette module to work with py34
2018-09-22 17:29:08 -03:00
Luiz Menezes
0cf11d4525
Bump version to 2.0.0
v2.0.0
2018-09-19 11:46:08 -03:00
Luiz Menezes
75a334686f
Merge pull request #391 from kevin1024/py37
...
Add support to py37
2018-09-18 19:40:45 -03:00
Luiz Menezes
9a9cdb3a95
add py37 on CI build
2018-09-18 19:04:30 -03:00
Luiz Menezes
b38915a89a
Fix httplib2 compatibility with py37
2018-09-18 18:42:22 -03:00
Felix Yan
e93060c81b
Fix compatibility with Python 3.7
2018-09-18 16:41:42 -03:00
Luiz Menezes
10736db427
Merge pull request #374 from adamchainz/readme_supported
...
Update docs' lists of supported HTTP clients
2018-09-18 14:45:11 -03:00
Luiz Menezes
cb4228cf90
Merge pull request #390 from kevin1024/fix-aiohttp-client
...
Fix vcr to support aiohttp client requests
2018-09-18 14:42:59 -03:00
Luiz Menezes
f7c051cde6
Drop support to asyncio.coroutine (py34 async/await syntax)
2018-09-18 14:14:25 -03:00
Luiz Menezes
075dde6707
Merge pull request #384 from valgur/patch-1
...
Fix PyPI badge URLs in README.rst
2018-09-18 12:55:32 -03:00
Luiz Menezes
af2742b6b9
Merge pull request #389 from lamenezes/fix-proxy
...
Fix proxy
2018-09-18 11:32:53 -03:00
Luiz Menezes
e9d00a5e2a
Fix test_use_proxy cassette response type
2018-09-18 11:13:39 -03:00
Danilo Shiga
957db22d5c
Improve test_use_proxy with cassette headers and play_count assertion
2018-09-18 11:06:15 -03:00
Martin Valgur
302ea35d9a
Fix matching on 'body' failing when Unicode symbols are present in them
...
Matching on bodies uses urllib.parse.parse_qs(), which fails to handle
UTF-8+URLEncoded POST bodies when the input is `bytes` rather than `str`,
causing matching to fail..
Fixed this by always doing decode('ascii') on URLEncoded POST bodies first.
2018-09-06 19:41:37 +03:00
Martin Valgur
895850b197
Fix failing unit test on Windows
...
test_xmlrpclib was failing with "can't pickle thread.lock objects" on Windows.
Other small issues were related to backslashes in paths and different line endings.
2018-09-06 19:41:37 +03:00
Martin Valgur
5ddcaa4870
Replace PNG badges with SVG ones
2018-09-05 20:26:01 +03:00
Martin Valgur
76076e5ccb
Fix PyPI badge URLs in README.rst
...
`vcrpy-unittest` -> `vcrpy` in PyPI URLs.
2018-09-05 20:05:27 +03:00
Adam Johnson
7417978e36
tornado.httpclient
2018-07-31 10:38:21 +01:00
Adam Johnson
a9e75a545e
Update docs on before_record_* callbacks
...
Make them a bit more consistent and obvious that returning `None` ignores the request/response.
2018-07-31 09:54:29 +01:00
Stefan Tjarks
e559be758a
Fix aiohttp patch to work with aiohttp >= 3.3
...
Aiohttp expects an awaitable instance to be returned from
`ClientSession._request` though `asyncio.coroutine` decorated function
do not implement `__await__`. By changing the syntax and dropping Python
3.4 support we fix this issue.
2018-07-25 13:24:29 -03:00
Adam Johnson
bb8d39dd20
Update docs' lists of supported HTTP clients
...
I noticed these were out of sync, especially weirdly one mentioning boto and the other mentioning boto3. I figure the list in the README is redundant when the Installation docs section lists the supported libraries, so I've removed it. I also:
* alphabetically sorted the list
* Highlighted the library names as code
* Added both `boto` and `boto3` to the list since there is support for both
* Removed the comment about Tornado's AsyncHTTPClient since that's an implementation detail plus the patch happens on a couple different classes
* Removed the note about `http.client` being part of Python 3, because everyone is Python 3 these days anyway :)
2018-07-18 22:51:58 +01:00
Samuel Fekete
ff7dd06f47
fix proxy for Python 2
2018-07-13 16:44:19 +01:00
Samuel Fekete
4b6b5effc7
Add headers in proxy server response
2018-07-13 16:44:19 +01:00
Samuel Fekete
06dc2190d6
Fix format string for Python 2.6
2018-07-13 16:40:35 +01:00
Samuel Fekete
eb4774a7d2
Only have a sock attribute after connecting
2018-07-13 16:40:35 +01:00
Samuel Fekete
bed9e520a3
Fix socketserver for Python 3
2018-07-13 16:40:35 +01:00
Samuel Fekete
365a98bf66
Fix failing tests
2018-07-13 16:40:35 +01:00
Samuel Fekete
fc95e34bd4
Determine proxy based on path
2018-07-13 16:40:35 +01:00
Samuel Fekete
236dc1f4f2
Add test for proxies
2018-07-13 16:34:21 +01:00
Samuel Fekete
43f4eb8156
Fix host and port for proxy connections
2018-07-13 16:34:21 +01:00
Luiz Menezes
aff71c5107
Merge pull request #356 from kgraves/fix_before_record_response_mutates_actual_response
...
fixes before_record_response mutates response
2018-07-12 23:19:57 -03:00
Luiz Menezes
506700651d
Bump version to 1.13.0
v1.13.0
2018-07-12 20:07:30 -03:00
Luiz Menezes
d1b11da610
Merge pull request #369 from lamenezes/fix-aiohttp-url-with-query-params
...
Fix aiohttp url with query params
2018-07-08 23:48:20 -03:00
Luiz Menezes
306238d561
Test aiohttp usage with query strings on the URL
2018-07-08 23:06:22 -03:00
Goran Stefkovski
dbddaa0e44
Shallow copy of query as mutable MultiDict
2018-07-08 23:04:36 -03:00
Goran Stefkovski
0d4c9eccf5
simplified logic so that either params or url is used, if params are specified - they will overwrite any get params on the url
2018-07-08 23:03:42 -03:00
Luiz Menezes
1674741d9f
Merge pull request #368 from lamenezes/fix-json-content-type-on-aiohttp-stub
...
Fix content type being passed to aiohttp response stub
2018-07-08 14:46:16 -03:00
Luiz Menezes
75cb067e29
Fix content type being passed to aiohttp response stub
2018-07-07 23:56:39 -03:00
Luiz Menezes
ab6e6b5b5d
Merge pull request #359 from lamenezes/adapt-aiohttp-stub-to-3.3
...
Fix aiohttp stub to work with aiohttp 3.3.x
2018-06-18 10:46:36 -03:00
Luiz Menezes
9e8bd382d3
Fix aiohttp stub to work with aiohttp 3.3.x
2018-06-05 11:59:28 -03:00
kg
ba79174a1f
fixes before_record_response mutates response
...
When no cassette exists, it's expected that the response returned, should be
the original, unchanged response. The response recorded in the cassette should be
that which is returned by the before_record_response callback.
But on subsequent requests/responses (when a cassette exists), the responses
returned should be exactly what is in the cassette.
resolves #355
2018-05-24 01:12:13 +00:00
Kevin McCarthy
c341e48961
bump version for release
v1.12.0
2018-05-21 08:57:42 -05:00
Luiz Menezes
5be75692c4
Merge pull request #353 from lamenezes/support-aiohttp-over-3.1.0
...
Fix aiohttp stub to support version >= 3.1.0
2018-05-16 15:13:37 -03:00
Luiz Menezes
b10b92bdbb
Fix travis config to allow pypy3.5-aiohttp failure instead of excluding
2018-05-16 14:09:39 -03:00
Luiz Menezes
3009cbbbe9
Skip requests test instead of failing for python >= 3.6
2018-05-16 12:39:44 -03:00
Luiz Menezes
f811b41ad9
Fix tests aiohttp_utils.aiohttp_request return values
2018-05-16 11:12:51 -03:00