Commit Graph

258 Commits

Author SHA1 Message Date
Jakub Roztocil
ab23037582 Python 3 fixes. 2012-03-15 00:28:15 +01:00
Jakub Roztocil
51aa0409e6 Added Python 3 support
Closes #11.
2012-03-15 00:13:11 +01:00
Jakub Roztocil
1f49900db6 Improved README. 2012-03-14 22:55:09 +01: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
5e19e1b95d Added a "New in development version" link. 2012-03-14 00:58:05 +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 Roztocil
ccb2aaf94f Update README.rst 2012-03-05 02:54:34 +01:00
Jakub Roztocil
8cff0a3e67 Updated README. 2012-03-05 00:48:06 +01:00