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
Jakub Roztocil
89b66f1608
Merge remote-tracking branch 'origin/master'
2018-11-02 14:58:08 +01:00
Vladimir Berkutov
a7d570916d
#722 : Add support for tls1.3 ( #724 )
...
* #722 : Add support for tls1.3
* #722 : Document the potential support for tls1.3
2018-11-02 14:57:53 +01:00
Jakub Roztocil
ab5a50cee8
Finish --style=auto for terminal ANSI colors and make it the default.
...
Previously (only in the development version), this was called 'preset'.
2018-11-02 14:53:05 +01:00
Matúš Ferech
256ea7d49d
Add prog parameter to HTTPieArgumentParser ( #715 )
2018-10-30 18:41:56 +01:00
Matthew Leather
2cd6ea3050
Fix some broken documentation links ( #703 )
2018-09-07 19:10:04 +02:00
Jakub Roztocil
7917f1b40c
Build fixes and clean-up
...
* reflect Python 3.7 release
* fix `pycodestyle` errors
* update `pycodestyle` config
* move `pytest` and `pycodestyle` config to `setup.cfg`
* add `make pycodestyle`
* add `make coveralls`
* etc.
2018-07-12 21:16:16 +02:00
Piotr Śliwka
87e661c5f1
Support using styles from Pygments plugins ( #663 )
...
`pygments.styles.STYLE_MAP` contains only styles built directly into
Pygments library. To list all available styles (including styles
registered by plugins), one should use `get_all_styles` generator.
For respective Pygments documentation, see:
http://pygments.org/docs/styles/#getting-a-list-of-available-styles
2018-04-14 15:25:59 -05:00
Jakub Roztocil
0f4dce98c7
Make default HTTP headers case-insensitive
...
Cloase #644
2018-02-22 12:52:57 +01:00
Jakub Roztocil
a803e845a5
More robust urllib3 import
2017-12-28 18:32:12 +01:00
Jakub Roztocil
7f5fd130c5
Start using dict comprehensions
2017-12-28 18:15:17 +01:00
Jakub Roztocil
ec899d70b7
Removed Python 2.6 support
...
* Travis CI doesn't support it anymore.
* It had EOL more than 4 years ago
2017-12-28 18:03:37 +01:00
Jakub Roztocil
4c138959ea
Merge pull request #633 from darshanime/version_number_fix
...
fix env version attribute
2017-12-13 21:18:38 +01:00
darshanime
6472ca55e1
fix env version attribute
2017-11-18 19:01:26 +05:30
James
0aab796960
Clarify error message
2017-11-13 07:23:52 -05:00
Jakub Roztocil
f1d4861fae
Merge pull request #568 from dsego/dsego/ansi-colors
...
Follow terminal ANSI color styles
Close #524
2017-03-12 22:44:05 +01:00
Davorin Šego
02209c2db1
Oops, remove semicolons
2017-03-11 18:12:00 +01:00
Davorin Šego
9886f01f91
New style option that applies the terminal ANSI color scheme
2017-03-11 18:00:35 +01:00
Davorin Šego
a4f796fe69
Revert "Follow terminal ANSI color styles"
...
This reverts commit b0fde07cfd
.
2017-03-11 16:58:50 +01:00
Jakub Roztocil
c948f98b05
Update links
2017-03-10 11:27:38 +01:00
Davorin Šego
b0fde07cfd
Follow terminal ANSI color styles
...
Removes the default solarized color scheme and custom http lexer class.
2017-03-06 01:05:50 +01:00
Jakub Roztocil
7321b9fa4e
Add --verify true/false tests and CHANGELOG
2017-02-17 00:56:07 +01:00