Ismail Badawi
929ead437a
Have --auth prompt for password if omitted.
2012-07-16 04:40:36 -04:00
Jakub Roztocil
50196be0f2
Added support for request payload from a filepath
...
Content-Type is detected from the filename.
Closes #57 .
2012-06-29 00:45:31 +02:00
Jakub Roztocil
926d3f5caf
Tests, docs, clean-up.
...
Closes #54 .
2012-06-24 03:45:21 +02:00
Jakub Roztocil
4613d947a8
Default to POST also when stdin redirected.
...
+clean up
2012-06-24 01:25:30 +02:00
Vladimir Berkutov
d920f20847
Issue #54 Method suggestion proposal
2012-06-17 22:11:26 +04:00
Vladimir Berkutov
bca36f0464
Issue #54 Method suggestion proposal
2012-06-17 21:46:56 +04:00
Vladimir Berkutov
78fff98712
Issue #54 Method suggestion proposal
2012-06-16 20:08:31 +04:00
Jakub Roztocil
7910269996
Updated README and docs.
2012-04-25 02:10:58 +02:00
Jakub Roztocil
c5b1aaaa28
Major clean-up and refactoring.
2012-04-25 01:32:53 +02:00
Jakub Roztocil
67d6426360
Fixed several unicode-related issues
...
Closes #31 Python 3 & non-ascii arguments => UnicodeEncodeError
Closes #41 Unicode response error.
Closes #42 UnicodeEncodeError when piping Unicode output
2012-04-25 00:08:40 +02:00
Jake Basile
90af1f7422
Fixed escaping for long separators.
2012-04-18 18:18:00 -05:00
Jake Basile
16df8848e8
Removed accidentally included old funky code.
2012-04-16 20:47:13 -05:00
Jake Basile
c29981c633
Added ability to escape parameters... except for the := ones.
2012-04-16 20:28:08 -05:00
Jakub Roztocil
0c4c6c4753
Added --auth-type and tests for basic/digest auth.
...
Closes #38 .
2012-04-11 13:56:25 +02:00
Jakub Roztocil
ee598d304d
Merge branch 'digest-auth' of https://github.com/dshafik/httpie into dshafik-digest-auth
2012-04-11 13:16:26 +02:00
Jakub Roztocil
c6c1489212
Refactored @mmb's fix to --verify; updated docs.
...
Closes #32 .
2012-04-11 12:46:08 +02:00
Davey Shafik
153663cb92
Add support for Digest authentication
2012-03-22 10:51:33 -04:00
Jakub Roztocil
b7e0473d6c
Added file upload support
...
It is now possible to send multipart/form-data requests.
Note that the --file option used previously has been removed
because it didn't allow you specify the field name.
Example:
http -f POST example.com field-name@/path/to/file
2012-03-14 19:14:37 +01:00
Jakub Roztocil
578acacdf3
Added a --verbose / -v flag
...
When set, the whole request as well as the response is printed. Shortcut for --print=HBhb.
2012-03-14 11:15:21 +01:00
Jakub Roztocil
02622a4135
Added the option to print the request
...
It is now possible to print any combination of the following
request-response bits:
- Request headers (H)
- Request body (B)
- Response headers (h)
- Response body (b)
The output is controlled by the --print / -p option which
defaults to "hb" (i.e., response headers and response body).
Note that -p was previously shortcut for --prety.
Closes #29 .
2012-03-14 00:44:13 +01:00
Jakub Roztočil
f5d5ec22af
Added --version.
2012-03-04 10:49:37 +01:00
Jakub Roztočil
b728710760
Factored out CLI parsing.
2012-03-04 10:49:17 +01:00