HTTP v1.0.0 Release Notes
Release Date: 2015-12-25 // over 8 years ago-
#265: Remove deprecations ([@tarcieri]):
- HTTP::Chainable#with_follow (use #follow)
- HTTP::Chainable#with, #with_headers (use #headers)
- HTTP::Chainable#auth(:basic, ...) (use #basic_auth)
- HTTP::Chainable#default_headers (use #default_options[:headers])
- HTTP::Headers#append (use #add)
- HTTP::Options#[] hash-like API deprecated in favor of explicit methods
- HTTP::Request#request_header (use #headline)
- HTTP::Response::STATUS_CODES (use HTTP::Status::REASONS)
- HTTP::Response::SYMBOL_TO_STATUS_CODE (no replacement)
- HTTP::Response#status_code (use #status or #code)
- HTTP::Response::Status#symbolize (use #to_sym)
#269: Close connection in case of error during request. ([@ixti])
#271: High-level exception wrappers for low-level I/O errors. ([@ixti])
#273: Add encoding option. ([@connorhd])
#275: Support for disabling Nagle's algorithm with
HTTP.nodelay
. ([@nerdrew])#276 Use Encoding::BINARY as the default encoding for HTTP::Response::Body. ([@tarcieri])
#278 Use an options hash for HTTP::Request initializer API. ([@ixti])
#279 Send headers and body in one write if possible. This avoids a pathological case in Nagle's algorithm. ([@tarcieri])
#281 Remove legacy 'Http' constant alias to 'HTTP'. ([@tarcieri])