Jakub Roztocil
b0effe07d9
Fixed --output=/dev/null on Linux
...
Closes #252
2014-09-07 10:22:21 +02:00
Jakub Roztocil
5084f18568
'\' only escapes separator characters in req-items
...
It makes easier to work with Windows paths.
Closes #253 , #254
2014-09-05 18:36:23 +02:00
Jakub Roztocil
1035710956
Added RequestItems named tuple for convenience.
2014-09-05 07:51:35 +02:00
Jakub Roztocil
ca36f1de04
Handle empty passwords in URL credentials
...
Closes #242
2014-07-18 13:39:47 +02:00
Jakub Roztocil
0f96348fd1
Cleanup
2014-07-18 13:39:47 +02:00
Jakub Roztocil
2a72ae23d5
Run tests against local httpbin instance via pytest-httpbin.
2014-06-28 16:38:41 +02:00
Jakub Roztocil
040d981f00
Fixed custom Host
...
Closes #235
2014-06-28 13:24:14 +02:00
Jakub Roztocil
8e170b059c
Fixed tests.
2014-06-03 19:45:57 +02:00
Jakub Roztocil
e4c68063b9
Converted built-in formatters to formatter plugins.
...
Still work in progress and the API should be considered private for now.
2014-05-12 19:12:39 +02:00
Jakub Roztocil
858555abb5
Make sure session and default headers play nice
...
Before: headers = default + args + session
Now: headers = default + session + args
Fixes #180
2014-05-08 12:27:50 +01:00
Jakub Roztocil
d9eca19b8f
New URL.
2014-05-05 21:17:23 +02:00
Jakub Roztocil
faec00fd99
Improve support for 'type/subtype+suffix' mime types in the colors output formatter.
...
E.g.:
* application/ld+json
* application/hal+json
Closes #189 , #206
2014-04-28 10:08:03 +02:00
Jakub Roztocil
0e6875bf83
Handle HTTP 0.9 in response when formatting version.
...
Closes #170
2014-04-28 00:08:20 +02:00
Jakub Roztocil
bd50a6adb1
Moved .directory
from BaseConfigDict
to Config
.
...
Closes #200
2014-04-27 23:12:48 +02:00
Jakub Roztocil
05db75bdb1
Modularized output, refactoring
...
Making it ready for output formatting plugin API.
2014-04-27 21:58:00 +02:00
Jakub Roztocil
c06598a0c4
Cleanup
2014-04-27 18:27:44 +02:00
Jakub Roztocil
87806acc56
Cleanup
2014-04-26 23:06:39 +02:00
Jakub Roztocil
43bc6d0c98
Fixed and added tests for --verbose with unicode headers.
2014-04-26 20:10:15 +02:00
Jakub Roztocil
0bd218eab0
Cleanup
2014-04-26 19:32:08 +02:00
Jakub Roztocil
a3352af1d4
Added support and tests for unicode support in sessions.
2014-04-26 18:16:30 +02:00
Jakub Roztocil
467d126b6c
Python 3 unicode fixes.
2014-04-26 17:35:26 +02:00
Jakub Roztocil
282cc455e3
Avoid "TypeError: keyword arguments must be strings" on Python 3.3.
2014-04-26 15:18:38 +02:00
Jakub Roztocil
56d33a8e51
Fix Windows branch.
2014-04-26 15:10:39 +02:00
Jakub Roztocil
15e62ad26d
Implemented more robust unicode handling.
...
* Immediatelly convert all args from `bytes` to `str`.
* Added `Environment.stdin_encoding` and `Environment.stdout_encoding`
* Allow unicode characters in HTTP headers and basic auth credentials
by encoding them using UTF8 instead of latin1 (#212 ).
2014-04-26 15:07:31 +02:00
Jakub Roztocil
b10d973019
Removed unused import.
2014-04-25 12:53:02 +02:00
Jakub Roztocil
af4aa3a761
Test improvements.
2014-04-25 12:18:35 +02:00
Jakub Roztocil
f02169ea71
Added Python 2.6 compatible OrderedDict
...
To preserver ordr of headers, parameters, etc.
2014-04-24 19:57:19 +02:00
Jakub Roztocil
e5d758e4ce
More tests.
2014-04-24 19:32:55 +02:00
Jakub Roztocil
bdea7be456
Added tests for --debug and --help.
2014-04-24 19:32:55 +02:00
Jakub Roztocil
3d079942f4
Finished pytest migration.
2014-04-24 19:32:55 +02:00
Jakub Roztocil
6071fff4af
Refactored tests into smaller modules.
2014-04-24 14:07:31 +02:00
Jakub Roztočil
733771fd9e
Merge pull request #172 from unsignedint/master
...
process XML data before pretty-printing to trim whitespace
2014-03-18 19:44:16 +01:00
Jakub Roztocil
29877bc8ad
Updated installation instructions.
2014-03-04 18:24:32 +01:00
Jakub Roztocil
b01906a45c
Fixed ZeroDivisionError in download summary.
...
Closes #202
2014-02-18 13:06:18 +01:00
Matthias Lehmann
a3aae12d9c
rename -ssl-cert and --ssl-key to --cert and --certkey
2014-02-05 12:50:40 +01:00
Matthias Lehmann
d4363a560d
rename existing_file to readable_file_arg and move to input
2014-01-29 18:02:06 +01:00
Matthias Lehmann
b9d7220b10
check --ssl-cert and --ssl-key to be files
2014-01-29 15:54:19 +01:00
Matthias Lehmann
14583a2efa
add support for client SSL certificate and key
2014-01-28 16:16:48 +01:00
Jakub Roztocil
f1224da526
v0.8.0
2014-01-25 15:11:38 +01:00
Jakub Roztocil
e0cc63c7eb
Cleanup
2014-01-25 15:09:28 +01:00
Jakub Roztocil
52dd6adaa3
Updated README.
2014-01-25 15:04:15 +01:00
Jakub Roztocil
1aa77017d5
Catch UnicodeDecodeError when embedding file via =@ or :=@.
2014-01-25 14:57:19 +01:00
Jakub Roztočil
b1074ccb4f
Merge pull request #191 from solidsnack/wip-no-auth-in-host-header
...
Expunge user:pass@... from Host header.
2014-01-08 02:28:19 -08:00
Thomas LÉVEIL
a31d552d1c
fix typo
2014-01-07 14:04:13 +01:00
Jason Dusek
5a037b2e13
Expunge user:pass@... from Host header.
...
In verbose mode, the basic auth user and password would show up in colored
output reporting the Host header, as reported in
https://github.com/jkbr/httpie/issues/169
2014-01-06 19:12:33 +00:00
Rav Chandra
bee10e5eed
replace XML processor with ElementTree with custom indentation
2013-10-16 13:07:53 +13:00
Rav Chandra
bcdf194bae
process XML data before pretty-printing to trim whitespace
2013-10-16 12:33:19 +13:00
Nathan LaFreniere
4fe3deb9d9
add self to authors, update changelog, and mention shorthand in --help output
2013-10-09 13:21:14 -07:00
Nathan LaFreniere
8a52bef559
make shorthand parsing more robust, add unit tests and documentation
2013-10-09 11:32:41 -07:00
Nathan LaFreniere
711168a899
allow :port style shorthand
2013-10-08 22:41:38 -07:00