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
Luiz Menezes
140bc2ee74
Allow test failure on pypy3+aiohttp
2018-05-08 09:45:17 -03:00
Luiz Menezes
867fd9ab4b
Ignore flake8 for entire file on aiohttp_utils
2018-05-07 10:58:09 -03:00
Luiz Menezes
545c903ee2
pep8 fix on aiohttp_utils
2018-05-07 10:00:27 -03:00
Luiz Menezes
cd864b5eca
Fix aiohttp tests to include content type when parsing response to json
2018-05-07 09:55:12 -03:00
Luiz Menezes
689d68a0a2
Use async syntax on aiohttp_utils
2018-05-07 09:25:21 -03:00
Luiz Menezes
709017ea46
Fix aiohttp utils to pass encondig to response.json
2018-05-07 09:25:21 -03:00
Luiz Menezes
8621427f46
Add .pytest_cache/ to .gitignore
2018-05-07 09:25:21 -03:00
Luiz Menezes
7e695ff7bc
Fix test aiohttp imports
2018-05-07 09:25:21 -03:00
Luiz Menezes
bd08e5119f
Maintain support to python 3.4 and aiohttp
2018-05-07 09:25:21 -03:00
Luiz Menezes
6ab508d67d
Fix aiohttp_request to properly perform aiohttp requests
2018-05-07 09:25:21 -03:00
Luiz Menezes
f1561ae0f8
Remove tox pin on aiohttp
2018-05-07 09:25:21 -03:00
Luiz Menezes
f1f8ce2af4
Ignore syntax error on async stuff
2018-05-07 09:25:21 -03:00
Luiz Menezes
26be756f47
Fix aiohttp stub to support version >= 3.1.0
2018-05-07 09:25:21 -03:00
Luiz Menezes
f890709a20
Merge pull request #346 from carsonyl/patch-1
...
Convert extras_require conditional deps to PEP 508 form.
2018-05-06 19:06:06 -03:00
Carson Lam
d0ae5fa40b
Merge branch 'master' of github.com:kevin1024/vcrpy into patch-1
2018-05-05 19:53:42 -07:00
Luiz Menezes
1562bc7659
Merge pull request #350 from lamby/895269-vcrpy-please-make-the-build-reproducible
...
Make the build reproducible
2018-05-03 12:31:29 -03:00
Luiz Menezes
16b69aa2e5
Merge pull request #320 from allisson/master
...
Update aiohttp_stub to work with binary content
2018-05-03 12:30:41 -03:00
Allisson Azevedo
d9caff107d
Merge remote-tracking branch 'upstream/master'
2018-05-02 15:03:01 -03:00
Chris Lamb
f317490eec
Make the build reproducible
...
Whilst working on the Reproducible Builds effort [0], we noticed
that vcrpy could not be built reproducibly.
This is due to the documentation including the absolute build path
via Python default arguments.
This was originally filed in Debian as #895269 [1].
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/895269
Signed-off-by: Chris Lamb <lamby@debian.org >
2018-05-02 10:14:43 -07:00