Denis Belavin
3c07a25326
Add support for max-age=0 cookie expiry ( #1029 )
...
Close #998
2021-02-06 10:50:34 +01:00
Jakub Roztocil
cf78a12e46
Show --check-status warning with --quiet as well. ( #1026 )
...
Fixes #1028
2021-01-31 00:58:56 +01:00
Jakub Roztocil
0f1e098cc4
Fix incorrect separators and introduce assert_output_matches()
( close #1027 )
2021-01-30 22:14:57 +01:00
Gian Ortiz
db685d58b5
Decode headers using utf-8 only if they are not str ( #1020 )
2021-01-13 21:45:56 +01:00
Jakub Roztocil
2afdc958c6
Update URLs
2020-12-23 22:07:27 +01:00
Shubhendra Singh Chauhan
9883a46575
Cleanup ( #993 )
2020-12-21 12:03:25 +01:00
Jakub Roztocil
42c4a7596b
2.4.0-dev
2020-10-25 21:36:24 +01:00
Jakub Roztocil
1573058811
v2.3.0
2020-10-25 21:12:38 +01:00
Jakub Roztocil
2f8d330b57
Fix --offline --chunked
, add more tests
2020-09-28 16:40:16 +02:00
Jakub Roztocil
32d8b481e9
Fix --offline --multipart
, add more tests
2020-09-28 16:22:34 +02:00
Jakub Roztocil
5a5b42340f
PEP8
2020-09-28 12:50:45 +02:00
Jakub Roztocil
6925d930da
Add support for streamed uploads, --chunked, finish --multipart, etc.
...
Close #201
Close #753
Close #684
Close #903
Related: #452
2020-09-28 12:16:57 +02:00
Jakub Roztocil
b7754f92ce
Merge branch 'master' into feature/uploads2020
...
# Conflicts:
# httpie/cli/argparser.py
# httpie/uploads.py
2020-09-25 14:46:19 +02:00
Jakub Roztocil
e4e40e5b06
Request content type
2020-09-25 14:44:22 +02:00
Jakub Roztocil
d12af4a569
WIP
2020-09-25 13:44:28 +02:00
Jakub Roztocil
16ef08a159
Gracefully ignore cookie expiry dates in invalid format
...
Close #963
2020-09-20 09:21:10 +02:00
Jakub Roztocil
1813cf6156
Add --multipart
and --boundary
2020-08-19 10:22:50 +02:00
Jakub Roztocil
ce185bd0fa
Update __init__.py
2020-08-17 13:16:57 +02:00
Jakub Roztocil
5a908aa411
pep8
2020-08-15 17:51:43 +02:00
Jakub Roztocil
6cd934d1b8
Add support for multipart upload streaming
...
Close #684 , #201
2020-08-15 17:50:00 +02:00
Jakub Roztocil
1aa1366f99
Finish --quiet
2020-08-15 15:26:29 +02:00
Nicolas Beltran
c90d039a0b
fixed issues related to downloading and using quiet at the same time
2020-08-15 15:26:29 +02:00
Nicolas Beltran
ae22d4e754
Additional Aesthetic changes
2020-08-15 15:26:29 +02:00
Nicolas Beltran
69e1067a2c
Aesthetic changes
2020-08-15 15:26:29 +02:00
Nicolas Beltran
d546081340
Solved issue pertaining to downloads and added additional testing functionality for devnull
2020-08-15 15:26:29 +02:00
Nicolas Beltran
6421c145d9
Added changes suggested in the PR review
2020-08-15 15:26:29 +02:00
Nicolas Beltran
4bd2e622a5
Added tests for --quiet flag
2020-08-15 15:26:29 +02:00
Nicolas Beltran
a4a1e8d43b
Added a quiet functionality
2020-08-15 15:26:28 +02:00
Jakub Roztocil
0d480139e4
Split session JSON serialization and writing to file
...
To avoid writing invalid JSON in case of presence of unserializable data due to an internal bug.
2020-07-07 13:26:47 +02:00
Jakub Roztocil
14677bd25d
Cleanup inline to-dos
...
I.
2020-06-25 11:36:09 +02:00
Katherine Bancroft
9500ce136a
Combine cookies from original request and session file
...
Close #932
Co-authored-by: kbanc <katherine.bancoft@gmail.com>
Co-authored-by: Gabriel Cruz <gabs.oficial98@gmail.com>
2020-06-18 23:17:33 +02:00
Jakub Roztocil
93d07cfe57
v2.3.0-dev
2020-06-18 22:25:07 +02:00
Jakub Roztocil
5945845420
v2.2.0
2020-06-18 22:20:12 +02:00
Jakub Roztocil
d35864e79d
Cleanup
2020-06-16 13:01:48 +02:00
Jakub Roztocil
8a106781be
Add --sorted
...
Also add --no-(sorted|unsorted) to allow the documented resetting to default via --no-<option>.
2020-06-16 12:54:50 +02:00
Jakub Roztocil
23dd80563f
Cleanup
2020-06-16 12:25:46 +02:00
Jakub Roztocil
2bab69d9fb
Fix default value
2020-06-16 12:24:03 +02:00
Jakub Roztocil
826489950d
Added --unsorted
...
It acts as a shortcut for --format-options=json.sort_keys:false,headers.sort:false
#128
2020-06-16 12:20:13 +02:00
Jakub Roztocil
b86598886e
Added netrc support for auth plugins.
...
Enabled for --auth-type=basic and digest, 3rd parties may opt in.
This closes #718 , closes #719 , closes #852 , and also closes #934
2020-06-16 11:05:00 +02:00
Jakub Roztocil
37200eb055
Cleanup
2020-06-15 23:02:16 +02:00
Eyitayo Ogunbiyi
9c68d7dd87
Remove expired cookies ( #929 )
...
* added a test for expiring cookies
* updated tests
* set up util for extracting expired cookies from response header
* Revert "updated tests"
This reverts commit a4eb5c4498
.
* Revert "Revert "updated tests""
This reverts commit d242e21bce
.
* added more functionality to get-expired-cookies
* add 'clear expired cookies' from session.json files
* refactored get_expired_cookies
* fixed formatting issues
* ensured key exists in cookie_header dict
* fixed linting errors
* removed unused import
* Added tests for get_expired_cookies util
* Added additional test for get_expired_cookies
* added remove_expired_cookies method directly to sessions class
* extracted logic to clear cookies to sessions.py
* refactored utils
* added tests to check expired cookies being removed from session obj
* added type annotations for methods
* Refactored test_sessions
* Seperated out expiry related tests into own class
* Refactored get_expired_cookies in utils
* Refactored remove cookie methods
* fixed linting errors
* fixed indentation and also pluralized test class name
* removed inheritance from SessionTestbase class
* Moved related test to TestExpiredCookies class
Co-authored-by: kbanc <katherine.bancoft@gmail.com>
2020-06-15 22:28:04 +02:00
Jakub Roztocil
7ee519ef46
Update CHANGELOG
2020-06-08 18:02:04 +02:00
Carlo Sciolla
c4627cc882
Custom file upload MIME type ( #927 )
...
* Support curl-like syntax for custom MIME type for files
In order to specify a custom MIME type for file uploads, a syntax
similar to that used by cURL is used so that
http -F test_file@/path/to/file.bin;type=application/zip https://...
forwards the user-provided file type if provided, otherwise falling
back to the usual guesswork out of the file extension.
2020-06-08 17:59:41 +02:00
Jakub Roztocil
caeef2fb7c
Use :
instead of =
in `--format-options
2020-05-28 14:24:15 +02:00
Jakub Roztocil
aae596d472
Improve --format-options error messages
2020-05-27 16:19:32 +02:00
Jakub Roztocil
cb51faec51
pep8
2020-05-27 16:12:31 +02:00
Jakub Roztocil
c2a0cef76e
Add --format-options to allow disabling sorting, etc.
...
#128
2020-05-27 16:01:17 +02:00
Jakub Roztocil
ca02e51420
Improve plugin API docs
2020-05-26 10:07:53 +02:00
Jakub Roztocil
cd085cbc0d
Refactor built-in plugin registry to avoid circular imports
...
Fix #925
2020-05-26 10:07:34 +02:00
Jakub Roztocil
27d57ce773
Cleanup
2020-05-23 20:30:25 +02:00