Luiz Menezes
fb84928ef6
Fix build problems on requests tests due to SSL certificate problems
2019-06-10 16:57:24 -03:00
Luiz Menezes
0b4d92c277
Merge pull request #435 from hugovk/rm-3.4
...
Drop support for EOL Python 3.4
2019-06-10 15:38:36 -03:00
Hugo
8f4e089200
Upgrade Python syntax with pyupgrade
2019-05-22 17:44:36 +03:00
Hugo
7670e10bc2
Fix Flake8: E117 over-indented
2019-05-22 17:35:15 +03:00
Hugo
dc174c3250
Drop support for EOL Python 3.4
2019-05-22 17:30:45 +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
Pi Delport
20e8f4ad41
Doc typo: yml -> yaml
2019-02-04 12:15:23 +02: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
Karim Hamidou
472bc3aea1
Add a rewind method to reset a cassette.
2018-12-20 12:44:07 +01: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
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