Martynas Mickevičius
133423ce94
Reuse value from Location header on redirect
...
Because the recoded requests are using original value.
Changing the value on redirect prevents finding the
matching response.
2020-07-24 15:34:57 -05:00
Martynas Mickevičius
7d2d29de12
Extract cookies to client on every response
...
This is required because previous extraction code is now patched out by vcpy.
Also handle headers with same key in responses.
2020-07-24 15:34:57 -05:00
Martynas Mickevičius
023e41bb4c
Run tests on Travis CI
2020-07-24 15:34:57 -05:00
Hernan Ezequiel Di Giorgi
6ae93ac820
fix linting errors in test_httpx.py
2020-07-24 15:34:57 -05:00
Hernan Ezequiel Di Giorgi
04b7f4fc65
test that works behind proxy
2020-07-24 15:34:57 -05:00
Hernan Ezequiel Di Giorgi
936feb7748
fix redirection url
2020-07-24 15:34:57 -05:00
Hernan Ezequiel Di Giorgi
79d26ebb43
make it work with gzipped data
2020-07-24 15:34:57 -05:00
Hernan Ezequiel Di Giorgi
b8024de1b8
add missing pytest-asyncio dep for httpx
2020-07-24 15:34:57 -05:00
Hernan Ezequiel Di Giorgi
2f94d06e9b
add httpx support
2020-07-24 15:34:57 -05:00
Tyson Holub
042ee790e2
add allow_playback_repeats option to Cassette
2020-07-15 16:09:17 -05:00
Paulo Romeira
a249781b97
aiohttp: Use record_mode enum in tests
2020-07-15 13:52:00 -05:00
Paulo Romeira
b64e93aff2
aiohttp: Check if the response is playable before redirecting
2020-07-15 13:52:00 -05:00
Paulo Romeira
4897a8e692
aiohttp: Fix linting
2020-07-15 13:52:00 -05:00
Paulo Romeira
15d79e5b78
aiphttp: Add test for cookies on redirect
2020-07-15 13:52:00 -05:00
Paulo Romeira
1b9f80d741
aiohttp: Ignore cookie expiration date
2020-07-15 13:52:00 -05:00
Paulo Romeira
20fb283e97
aiohttp: Update cookies with redirection responses
2020-07-15 13:52:00 -05:00
Paulo Romeira
e868b64922
aiohttp: Fix next_url redirect for absolute paths
2020-07-15 13:52:00 -05:00
Paulo Romeira
69cecdbda7
aiohttp: Fix tests
2020-07-15 13:52:00 -05:00
Paulo Romeira
be53091ae5
aiohttp: Replace aiohttp package for module
2020-07-15 13:52:00 -05:00
Paulo Romeira
ba91053485
aiohttp: Raise CannotOverwriteExistingCassette if not found
2020-07-15 13:52:00 -05:00
Paulo Romeira
837992767e
aiohttp: Fix tests
2020-07-15 13:52:00 -05:00
Paulo Romeira
cd0907ffaf
aiohttp: Serialize request headers
2020-07-15 13:52:00 -05:00
Paulo Romeira
77d838e0fc
aiohttp: Fix code linting
2020-07-15 13:52:00 -05:00
Paulo Romeira
5362db2ebb
aiohttp: Update tests
2020-07-15 13:52:00 -05:00
Paulo Romeira
f9ce14d29a
aiohttp: Fix vcr_request cookies
2020-07-15 13:52:00 -05:00
Paulo Romeira
5242e68cd1
aiohttp: Fix code linting
2020-07-15 13:52:00 -05:00
Paulo Romeira
9817a8bda5
aiohttp: Add request cookies to "Cookie" header
2020-07-15 13:52:00 -05:00
Paulo Romeira
6e1768b85b
aiohttp: Update ClientSession's cookie_jar with response cookies
2020-07-15 13:52:00 -05:00
Paulo Romeira
062126e50c
tests/aiohttp: Add cookies test
2020-07-15 13:52:00 -05:00
Paulo Romeira
438550959f
aiohttp: Add response cookies loading
2020-07-15 13:52:00 -05:00
Paulo Romeira
69e4316545
aiohttp: Add support for multiple headers with same key
2020-07-15 13:52:00 -05:00
Jair Henrique
2f53776ffb
Use mockbin to fix redirect test
2020-07-15 12:18:23 -05:00
Ivan Malison
535efe1eb9
Merge pull request #514 from timgates42/bugfix/typo_cassette
...
Fix simple typo: cassete -> cassette
2020-07-01 20:19:41 -07:00
Ivan Malison
eb2e226bb8
Merge pull request #530 from aaronbannin/record-mode-enum
...
Enumerate Record Mode Values
2020-07-01 20:08:06 -07:00
Ivan Malison
8fe2ab6d06
Merge pull request #511 from royjs/master
...
Do not redirect on 304 for aiohttp
2020-06-29 14:25:45 -07:00
Aaron Bannin
6ac535f18d
fix lints
2020-05-24 21:12:41 -07:00
Aaron Bannin
bceaab8b88
add carraige returns
2020-05-24 20:44:21 -07:00
Aaron Bannin
0c2bbe0d51
enumerate record_mode values
2020-05-24 20:15:01 -07:00
Kevin McCarthy
2e5fdd36d5
Update README.rst
2020-04-19 08:46:10 -05:00
Tim Gates
f8b9a41f13
Fix simple typo: cassete -> cassette
...
Closes #513
2020-02-26 18:04:31 +11:00
Jean-Sebastien Roy
6e040030b8
Do not redirect on 304 for aiohttp
2020-01-27 11:24:02 -05:00
Josh Peak
accffa8ea2
Correct mock imports. Fixes #504 ( #505 )
...
* Correct mock imports. Fixes #504
Update changelog
Revert accidental import deletion
* Remove move dependency that was masking error from tox.ini
v4.0.2
2019-12-20 22:08:25 +11:00
Josh Peak
f07083e7cc
Fix Logo alignment for PYPI description
v4.0.1
2019-12-20 12:11:01 +11:00
Josh Peak
4495dbd1ce
Fixed README syntax errors thanks to and
v4.0.0
2019-12-20 12:04:36 +11:00
Josh Peak
357e3b03c5
Revert to PNG for PYPI upload
2019-12-20 11:55:36 +11:00
Josh Peak
566a70ab3a
Updated link to logo in README so it animates
2019-12-20 11:48:08 +11:00
Josh Peak
4a8e80ee3e
v4.0.x - Remove legacy python and add python3.8 support ( #499 )
...
* Drop support for legacy Python 2.7
* Upgrade Python syntax with pyupgrade --py3-plus
* Trim testing matrix to remove python2
* re-enable python3.8 in travis as tests that are not allowed to fail
* Remove some six
* The future is now
* Remove Python 2 imports
* Add back example, but change py27 to py36
* Remove redundant compat.py
* Blacken
* Credit hugovk in changelog
WIP Updating Sphinx Docs and AutoDoc
* Fix AutoDoc and update Sphinx theme to python_doc_theme
* Fix #420 , autodoc even undocumented (docstring-less) method signatures
* Doc theme 'nature'. Add global TOC to doc sidebar
* Comment last reference to package six
* Changelog is now a consistent format
* Yet another documentation fix for links and title hierarchy
* Start work on new SVG logo
test SVG in README
trying to test new SVG logo in README
Apply centering
Apply readme logo centering
Trying to align image
Trying random shit
trying align right
add emoji
Large logo has higher priority
Change title hierarchy
Actually use a H1
Try again
try and organise badges
revert link back to point at master
* updated new take on VCR logo as SVG code
* Testing modern logo in docs
* Add sanitize for rendering SVG
* Switch to alabaster theme
* Update vcrpy logo (#503 )
* Add credit for V4 logo changes.
* Add rewind and play animation
* Add svg into ReadTheDocs static assets so that it can be hosted so the animations work.
* Need to embedd the SVG for ReadTheDocs somewhere so I can get the link to later embed in the README
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com >
Co-authored-by: Sean Bailey <sean@seanbailey.io >
2019-12-20 11:45:07 +11:00
Josh Peak
41ca5750e7
Fix heading hierarchy in debugging guide
2019-12-19 13:16:12 +11:00
Josh Peak
d91a53bbff
Fix italics emphasis in contributing guide
2019-12-19 13:15:19 +11:00
Josh Peak
88092eb3cd
Update contributing guide to explain non-code contributions
2019-12-19 13:14:17 +11:00