Hernan Ezequiel Di Giorgi
|
8529c46f00
|
update tests
- Use mockbin for redirections.
- Mock synchronous requests too.
|
2020-07-24 15:34:57 -05:00 |
|
Gintaras Jak
|
5afa8f703a
|
Ignore utf8 decoding errors in content
|
2020-07-24 15:34:57 -05:00 |
|
Hernan Ezequiel Di Giorgi
|
641d9e5d49
|
list httpx in the compatibility list
|
2020-07-24 15:34:57 -05:00 |
|
Martynas Mickevičius
|
0ef400195b
|
Fix linter
|
2020-07-24 15:34:57 -05:00 |
|
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 |
|