Jakub Roztocil
356e043651
Added --show-redirects and --max-redirects
...
Closes #157 , #183 , #188 , #246
2016-02-29 14:12:09 +08:00
Jakub Roztocil
c6d4f6cdf6
Show redirects WIP
2016-02-29 14:07:08 +08:00
James Carr
dc1371d4d6
Implemented --max-redirects option
...
Added argument to argparse, changed client so that it uses a new
requests Session() with the number of redirects and a single test to
show the setting works.
2016-02-29 14:07:08 +08:00
Jakub Roztočil
25f0156502
Merge pull request #432 from hangtwenty/master
...
Add `-A` as short arg for `--auth-type`
2016-02-28 20:58:23 +08:00
Jakub Roztocil
0f8d04b4df
More robust mime type parsing
...
Closes #344
2016-02-28 20:12:16 +08:00
Jakub Roztocil
5898879395
Fixed --download with --session
...
Closes #412
2016-02-28 19:14:10 +08:00
Jakub Roztocil
8c33e5e3d3
Parser => HTTPieArgumentParser
2016-02-28 19:01:54 +08:00
Jakub Roztocil
56f498c153
Detect Content Type of file uploaded in multipart/form-data request
...
Closes #271 #285 #398
This adds filename-based detection. It's still not possible to specify the
content type manually, though.
2016-02-28 15:49:01 +08:00
Marcin Szewczyk
59e22b16b8
When possible, guess the content-type of the file being sent
...
Refined PR #285 by rasky to pass all tests
2016-02-28 15:47:43 +08:00
Jakub Roztocil
274dddfb45
Changed the default color style back to solarized
...
Closes #440
2016-02-17 14:46:35 +08:00
Michael Floering
018e1f68de
Merge remote-tracking branch 'upstream/master'
2016-01-22 18:40:53 -06:00
Michael Floering
ac69d4311b
add -A
as short arg for --auth-type
...
Addresses #430
comes with unit test
2016-01-22 18:37:30 -06:00
Jakub Roztocil
84b81c00ea
Fixed tox.ini and improved tests and CONTRIBUTING.txt
2016-01-02 14:07:00 -03:00
Jakub Roztocil
34c6958dc8
1.0.0-dev
2016-01-01 19:38:21 -03:00
Jakub Roztocil
4722076335
v0.9.3
2016-01-01 19:27:07 -03:00
Jakub Roztocil
b034c8703a
PEP8
2016-01-01 18:41:58 -03:00
Jakub Roztočil
c42bd0051a
Merge pull request #396 from pathcl/master
...
PEP8 errors
2016-01-01 18:37:49 -03:00
Jakub Roztočil
8771d759fe
Merge pull request #382 from konopski/master
...
[#381 ] Fixed --auth prompt on Windows
2016-01-01 18:18:23 -03:00
Jakub Roztočil
2cdca36960
Merge pull request #386 from honorabrutroll/dev
...
Fixed --pretty on Windows (closes #372 )
2016-01-01 18:15:50 -03:00
Michael Floering
4f755a8bde
Fail gracefully if disable_warnings not available
...
Addresses #418 . Rationale explained there.
2015-12-02 11:50:48 -06:00
Luis San Martin
45df860124
PEP8 errors
2015-10-22 14:32:16 -03:00
Lukasz Konopski
277da1ff93
str conversion
2015-10-21 21:57:06 +02:00
honorabrutroll
ed484c278b
Change pretty option processor to only raise error when using output file
2015-10-04 17:06:00 -05:00
Lukasz Konopski
aec0f04f5d
[ #381 ] --auth fails on windows
2015-09-21 16:30:46 +02:00
Matt Layman
9ea89ffefe
Fix typo in method name of plugin manager.
2015-08-30 21:37:47 -04:00
Jakub Roztocil
2b51cb6687
Updated links II.
2015-07-03 18:55:45 +02:00
Joao Delgado
6fd0f23f39
Only serialize json if data is a dict instance
2015-04-11 02:11:22 +01:00
Jakub Roztočil
cbbaac13ea
Merge pull request #300 from msabramo/print_info_about_request_on_error
...
Print info about request on error
2015-03-25 22:21:18 +01:00
Jakub Roztocil
1a43c0e5f7
Fixed --debug output
2015-02-28 17:02:05 +01:00
Jakub Roztocil
fdae686e12
Clean up compat
and fix is_pypy
.
2015-02-24 08:18:03 +01:00
Jakub Roztocil
1c181a5d25
1.0.0-dev
2015-02-24 07:52:34 +01:00
Jakub Roztocil
a228399801
0.9.2
2015-02-24 07:50:15 +01:00
Jakub Roztocil
e4bc363f9e
Don't depend on requests.compat
...
#314
2015-02-24 07:50:15 +01:00
Jakub Roztocil
ecc59591f1
Disable urllib3's "Unverified HTTPS request is being made" warnings
2015-02-16 19:36:02 +01:00
Marc Abramowitz
f855de16c2
Increase test coverage for error handling
2015-02-15 23:22:52 -08:00
Marc Abramowitz
7f8adad313
Print info about request on error
...
This can help in diagnosing certain issues. For example, if I were
trying to use a "http+unix" URL but I don't have #299 , then I'll get the
following:
[marca@marca-mac2 httpie]$ http http+unix://%2Ftmp%2Fprofilesvc.sock/status/pid
http: error: ConnectionError: ('Connection aborted.', gaierror(8, 'nodename nor servname provided, or not known'))
while doing GET request to URL: http://http+unix//%2Ftmp%2Fprofilesvc.sock/status/pid
Having the URL in the error message is super useful here so that I know an
extra `http://` is getting prepended and it's not doing what I expected.
2015-02-15 23:22:52 -08:00
Jakub Roztocil
bc0d17c04c
Added a PyPy incompatibility workaround.
2015-02-15 00:36:55 +01:00
Jakub Roztocil
985f65ef52
Temporarily skip SSL tests on PyPy due to #308
2015-02-14 23:14:06 +01:00
Jakub Roztocil
dd0a4ab87a
Default --style to "monokai"
...
419ca85
2015-02-14 22:51:31 +01:00
Jakub Roztocil
419ca85e62
The default color --style is now "fruity"
...
It's experimental - please let me know should you dislike this change.
To make Solarized default again, add this to your ~/.config.json:
"default_options": [
"--style=solarized"
],
2015-02-14 18:18:04 +01:00
Jakub Roztocil
6e7e2f2eea
Changed the default JSON Content-Type
to application/json
.
2015-02-14 17:45:15 +01:00
Marc Abramowitz
86ebb9b741
compat.py: Add pragma no covers
...
Cuz this is a lot of version-specific stuff and it can be confusing to have different coverage per version, especially with coveralls.
2015-02-10 06:54:59 -08:00
Jakub Roztocil
a786f17997
1.0.0-dev
2015-02-07 17:04:33 +01:00
Jakub Roztocil
753a8d04e4
v0.9.1
2015-02-07 17:04:13 +01:00
Jakub Roztocil
3ff03524ff
HTTP/2 has no minor versions.
...
https://github.com/jakubroztocil/httpie-http2/issues/1
2015-02-07 16:31:42 +01:00
Jakub Roztocil
9682f955b5
Handle HTTP/2 responses
...
https://github.com/jakubroztocil/httpie-http2/issues/1#issuecomment-73301801
2015-02-06 21:13:57 +01:00
Jakub Roztocil
996e314482
Cleanup
2015-02-05 15:55:20 +01:00
Jakub Roztocil
687a6a734d
Added support for transport adapter plugins
...
#276 , #298
2015-02-05 15:25:00 +01:00
Jakub Roztocil
b125ce5eae
Allow custom URL schemes
...
Closes #299
See also #276
2015-02-05 14:35:34 +01:00
Jakub Roztocil
530d6c5e27
1.0.0-dev
2015-01-31 13:22:17 +01:00