Jakub Roztocil
f202f338a4
Remove automatic config file creation to avoid concurrency issues.
...
Close #788
Close #812
2019-12-02 17:43:16 +01:00
Jakub Roztocil
f0058eeaee
cleanup
2019-12-02 10:42:33 +01:00
Jakub Roztocil
a23b636a63
Cleanup
2019-12-02 00:58:10 +01:00
Jakub Roztocil
d9b3a16fa6
Make ExitStatus
subclass IntEnum
to allow direct int
comparisons
2019-09-18 11:57:06 +02:00
Jakub Roztocil
a42b275ae2
Typing & cleanup
2019-09-17 09:21:49 +02:00
Jakub Roztocil
37fa67cd3c
Runnable KeyValueArgType.tokenize doctest
2019-09-17 09:07:12 +02:00
Jakub Roztocil
374c371ef1
Add httpie.status
2019-09-16 13:26:18 +02:00
Jakub Roztocil
c8fd4c2d6e
Move compression out of adapter
2019-09-04 00:00:03 +02:00
Jakub Roztocil
bece3c77bb
Add one-by-one processing of each HTTP request or response and --offline
2019-09-03 17:14:39 +02:00
Jakub Roztocil
c946b3d34f
Cleanup
2019-09-02 14:38:23 +02:00
Jakub Roztocil
45e8e4e4ea
Sessions
2019-09-01 21:15:39 +02:00
Jakub Roztocil
bd3208cf24
Refactor get_formatters_grouped
2019-09-01 11:45:47 +02:00
Jakub Roztocil
4dffac7a25
Refactor client
2019-09-01 11:38:14 +02:00
Jakub Roztocil
a34b3d9d87
Refactor PluginManager
2019-09-01 11:13:45 +02:00
Jakub Roztocil
30624e66ec
Annotate formatters and processing
2019-08-31 19:13:36 +02:00
Jakub Roztocil
d603502960
Fix unregister annotation
2019-08-31 18:35:24 +02:00
Jakub Roztocil
b947d4826a
Annotate plugins
2019-08-31 18:33:54 +02:00
Jakub Roztocil
e8ef5a783f
Annotate and refactor streams.py
2019-08-31 18:21:10 +02:00
Jakub Roztocil
9da5c41704
Improve --debug output formatting
2019-08-31 18:00:03 +02:00
Jakub Roztocil
224519e0e2
Fix --ssl with --compress; refactor client
2019-08-31 17:52:56 +02:00
Jakub Roztocil
aba3b1ec01
Refactoring
2019-08-31 15:17:10 +02:00
Jakub Roztocil
3ea75a3577
Document $ALL_PROXY
support ( close #676 )
...
It’s been supported by python-requests since v2.11.0 (2016-08-08)
d79024f246/HISTORY.md (2110-2016-08-08)
2019-08-31 12:31:32 +02:00
Jakub Roztocil
1dc67a6a38
Allow bypassing .netrc with --ignore-netrc
( close #730 )
2019-08-31 12:09:17 +02:00
Jakub Roztocil
a5713f7190
pep8
2019-08-30 21:26:51 +02:00
Jakub Roztocil
0f654388fc
Python 3 annotations, super(), pathlib, etc.
2019-08-30 15:14:51 +02:00
Jakub Roztocil
63df735fef
Update links to HTTPS
2019-08-30 10:07:01 +02:00
Jakub Roztocil
2579827418
Use set literal
2019-08-30 09:56:50 +02:00
Jakub Roztocil
9bd8b4e8f7
Don't fail if config dir not writeable ( close #738 )
2019-08-29 14:05:32 +02:00
Jakub Roztocil
ced9212c1f
Allow stdin to be a closed fd #791
2019-08-29 13:39:42 +02:00
Jakub Roztocil
07da8ea852
Merge branch 'allow-closed-stdin' of https://github.com/mgsloan/httpie into mgsloan-allow-closed-stdin
2019-08-29 13:26:28 +02:00
Jakub Roztocil
8e04a24b90
Reintroduce $ https
command alias with https://
as default scheme
...
Close #608
2019-08-29 13:08:02 +02:00
Jakub Roztocil
a4d8f1f22e
Refactor --compress
tests
2019-08-29 11:46:08 +02:00
Aleksandr Vinokurov
5ec954c03d
Add compressed requests ( #739 )
...
* Add optional compression of the request's content
This option allows compression of the files and/or data during uploading,
Examples:
http --form --compress POST https://localhost/upload csv@./very-big.csv
http -x -x POST https://localhost/upload foo=bar
cat /var/log/system.log | http -x POST https://localhost/upload
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
* Add tests for compression
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
* Fix code style issues
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
* Fix zlib compression api missuse in Python3
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
* Remove tracing from compression logic
Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
2019-08-29 10:44:59 +02:00
Jakub Roztocil
bb4f101c1e
pep8
2019-08-29 10:09:56 +02:00
Jakub Roztocil
82081c889b
Fix `--timeout=0
`
2019-08-29 10:06:25 +02:00
Jakub Roztocil
05fc9c480a
Remove the default 30-second connection timeout limit
2019-08-29 09:57:00 +02:00
Jakub Roztocil
a969013bdd
Disable default max headers limit and add --max-headers ( closes #802 )
2019-08-29 09:39:19 +02:00
Jakub Roztocil
b3d2c1876e
Python 2.7 support removal WIP
2019-08-29 08:53:56 +02:00
Jakub Roztocil
747be30d2e
1.0.3
2019-08-26 12:42:34 +02:00
Michael Sloan
c5ca9d248e
Allow stdin to be a closed fd
...
Before this change, the following invocation would not work
```
$ http http://neverhttps.com <&-
```
The "<&-" at the end closes the stdin fd. Specifically, it would fail with
```
...
File "/home/mgsloan/.local/lib/python3.6/site-packages/httpie/context.py", line 26, in Environment
stdin_isatty = stdin.isatty()
AttributeError: 'NoneType' object has no attribute 'isatty'
```
This can occur when httpie is being programmatically invoked, and may
as well be supported.
2019-07-17 23:02:49 -06:00
Jakub Roztocil
6dee49357d
Fix comments
2019-06-24 12:29:42 +02:00
Jakub Roztocil
df36d6255d
Changed the way the output filename is generated
...
When ``--download`` without ``--output`` results in a redirect,
now only the initial URL is considered, not the final one.
2019-06-24 12:20:09 +02:00
Mickaël Schoentgen
3a46149de1
Fix several ResourceWarning: unclosed file ( #741 )
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-02-04 10:00:30 +01:00
Jakub Roztocil
c591a3810d
1.0.3-dev
2018-11-14 16:36:47 +01:00
Jakub Roztocil
0eba037037
v1.0.2
...
Close #729
2018-11-14 16:36:19 +01:00
Jakub Roztocil
3898129e9c
Changelog
2018-11-14 16:22:00 +01:00
Jakub Roztocil
f6a19cf552
Don't call external URLs from tests #729
2018-11-14 11:42:59 +01:00
Jakub Roztocil
b5625e3d75
v1.0.0
2018-11-02 16:24:35 +01:00
Jakub Roztocil
932d3224f4
Cleanup
2018-11-02 16:23:17 +01:00
Jakub Roztocil
b596fedf13
exit 0
constant: OK
=> SUCCESS
to avoid confusion w/ HTTP 200 OK
2018-11-02 16:07:39 +01:00