Luiz Menezes
1b474c0510
Fix deprecation warnings
2019-04-06 00:37:36 -03:00
Luiz Menezes
114fcd29b4
Merge pull request #416 from davidwilemski/util-warnings
...
Fix collections.abc DeprecationWarning
2019-04-06 00:17:32 -03:00
David Wilemski
4e990db32e
Fix collections.abc DeprecationWarning
...
In versions of Python from 3.8 and forward, importing Mapping and
MutableMapping from the collections module will no longer work. This
change will try to import from the collections.abc module, which was
added in Python 3.3, and fall back to the collections module on older
versions of Python.
2019-01-01 15:23:51 -08:00
Luiz Menezes
c74a857aa4
Merge pull request #409 from jxltom/pin-requires-version-for-python34
...
Pin yarl and multidict version for python34
2018-11-14 09:59:39 -03:00
jxltom
c3705dae9f
Fix flake8 in python3
2018-11-14 10:27:38 +08:00
jxltom
6c166482d9
Pin yarl and multidict version for python34
2018-11-14 09:48:49 +08:00
Thomas Grainger
cc9fabf2d9
Merge pull request #379 from adamchainz/patch-1
...
Update docs on before_record_* callbacks
2018-10-15 04:05:16 +01:00
Thomas Grainger
f77442d87b
Merge pull request #400 from felixonmars/patch-1
...
Fix a typo in vcr/request.py
2018-10-15 04:04:32 +01:00
Thomas Grainger
602112cd87
Merge pull request #404 from kevin1024/text-encoding-errors-kwarg
...
support ClientResponse.text(errors=) kwarg
2018-10-15 04:04:15 +01:00
Thomas Grainger
4ef5205094
support ClientResponse.text(errors=) kwarg
2018-10-15 03:00:19 +01:00
Felix Yan
0d2f49fe8a
Fix a typo in vcr/request.py
2018-10-06 17:21:42 +08:00
Luiz Menezes
8fdc6dbb68
Merge pull request #397 from stj/master
...
ClientResponse.release isn't a coroutine
2018-10-04 12:04:05 -03:00
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
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