HTTP v0.7.0 Release Notes
Release Date: 2015-01-02 // over 9 years ago-
- #73, #167: Add support of multipart form data. ([@ixti])
- ๐ Fix URI path normalization:
https://github.com
->https://github.com/
. ([@ixti]) - #163, #166, #152: Fix handling of EOF which caused infinite loop. ([@mickm], [@ixti])
- โฌ๏ธ Drop Ruby 1.8.7 support. ([@ixti])
- #150: Fix default Host header value. ([@ixti])
- โ Remove BearerToken authorization header. ([@ixti])
#auth
sugar now accepts only string value of Authorization header. Calling#auth(:basic, opts)
is deprecated, use#basic_auth(opts)
instead. ([@ixti])- ๐ Fix handling of chunked responses without Content-Length header. ([@ixti])
- Remove
HTTP::Request#method
and deprecateHTTP::Request#__method__
([@sferik]) - ๐ Deprecate
HTTP::Response::STATUS_CODES
, useHTTP::Response::Status::REASONS
instead ([@ixti]) - Deprecate
HTTP::Response::SYMBOL_TO_STATUS_CODE
([@ixti]) - ๐ Deprecate
HTTP::Response#status_code
([@ixti]) HTTP::Response#status
now returnsHTTP::Response::Status
. ([@ixti])HTTP::Response#reason
andHTTP::Response#code
are proxies them to corresponding methods ofHTTP::Response#status
([@ixti])- ๐ Rename
HTTP.with_follow
toHTTP.follow
and mark former one as being deprecated ([@ixti]) - Delegate
HTTP::Response#readpartial
toHTTP::Response::Body
([@ixti])