Lukasz Konopski
277da1ff93
str conversion
2015-10-21 21:57:06 +02:00
Lukasz Konopski
aec0f04f5d
[ #381 ] --auth fails on windows
2015-09-21 16:30:46 +02:00
Jakub Roztocil
2b51cb6687
Updated links II.
2015-07-03 18:55:45 +02:00
Jakub Roztocil
bc0d17c04c
Added a PyPy incompatibility workaround.
2015-02-15 00:36:55 +01:00
Jakub Roztocil
b125ce5eae
Allow custom URL schemes
...
Closes #299
See also #276
2015-02-05 14:35:34 +01:00
Jakub Roztocil
25b1be7c8a
Work around missing object_pairs_hook
in Python 2.6
2015-01-23 22:04:42 +01:00
Alexander Nelzin
a2b12f75ea
Fixed and added test for JSON properties order.
2014-11-13 23:56:05 +03:00
Jakub Roztocil
0481957715
Fixed multiple uploads with the same field name
...
Closes #267
2014-10-20 14:41:48 +02:00
Jakub Roztocil
c301305a59
Cleanup.
2014-10-20 14:41:48 +02:00
Jakub Roztocil
2078ece95a
Cleanup
2014-10-20 14:41:48 +02:00
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
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
d9eca19b8f
New URL.
2014-05-05 21:17:23 +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
87806acc56
Cleanup
2014-04-26 23:06:39 +02:00
Jakub Roztocil
0bd218eab0
Cleanup
2014-04-26 19:32:08 +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
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
Matthias Lehmann
d4363a560d
rename existing_file to readable_file_arg and move to input
2014-01-29 18:02:06 +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
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
Jakub Roztocil
2e535d8345
Fixed password prompt.
2013-09-25 00:17:50 +02:00
Jakub Roztocil
0bcd4d2fb0
Fixed a bytes/str issue for Python 3.
2013-09-25 00:00:17 +02:00
Jakub Roztocil
d5bc564e4f
Allow embeding text (=@) and JSON (:=@) files content into request data fields.
2013-09-24 23:41:18 +02:00
Jakub Roztocil
2acb303552
Added support for auth plugins.
2013-09-21 23:46:15 +02:00
Jakub Roztocil
f7b703b4bf
Added --ignore-stdin
...
Closes #150
2013-08-23 10:57:17 +02:00
Jakub Roztocil
67496162fa
Improved --help output.
2013-08-10 11:56:19 +02:00
Jakub Roztocil
87c59ae561
Added anonymous sessions (--session=/file/path.json).
2013-05-13 14:47:44 +02:00
Jakub Roztocil
bc756cb6a2
Cleanup
2013-04-27 11:57:13 -03:00
Jakub Roztocil
1b98505537
Validate download options before setting up streams.
2013-04-12 11:59:23 -03:00
Jakub Roztocil
341272db1e
Added support for output redirection with --download ( #104 ).
2013-04-12 11:04:14 -03:00
Jakub Roztocil
8e6c765be2
Initial --download implementation ( #104 ).
...
Closes #127
2013-03-03 22:17:09 -03:00
Jakub Roztocil
093dab5896
Multiple headers TODO.
2013-02-22 13:18:18 +01:00
Jakub Roztocil
1481749c22
Use urlsplit
instead of urlparse
.
...
Closes #118 .
2013-01-03 14:12:27 +01:00
Jakub Roztocil
9ec328ff6f
Session commands.
2012-12-11 12:54:34 +01:00
Jakub Roztocil
8175366f27
PEP8
2012-12-05 04:39:56 +01:00
Jakub Roztocil
d87b2aa0e5
Added support for credentials in URL.
...
Closes #100 🍰
2012-11-08 22:29:54 +01:00
Jakub Roztocil
5d969852c7
Added --no-option's and made args more config-friendly.
2012-09-24 06:49:12 +02:00
Jakub Roztocil
a41dd7ac6d
Allow output redirection on Windows.
...
Closes #88 .
2012-09-21 04:30:59 +02:00
Jakub Roztocil
4a6f32a0f4
Documented config.
...
Also renamed `default_content_type` to `implicit_content_type` .
2012-09-17 03:08:45 +02:00
Jakub Roztocil
4029dbf309
Added configuration file.
...
The "default_content_type" option can be set to "form".
Closes #91 .
2012-09-17 00:37:36 +02:00
Jakub Roztocil
9338aadd75
Cleanup
2012-09-05 20:22:08 +02:00
Jakub Roztocil
8a9cedb16e
JSON session data, `httpie' management command.
2012-08-18 23:07:36 +02:00
Jakub Roztocil
ff9f23da5b
Grouped arguments for a more user-friendly --help.
2012-08-18 06:12:44 +02:00