Path to this page:
Subject: CVS commit: pkgsrc/www/ruby-patron
From: Takahiro Kambe
Date: 2016-10-18 18:02:47
Message id: 20161018160248.01B34FBD2@cvs.NetBSD.org
Log Message:
Update ruby-patron to 0.8.0.
### 0.8.0
* Add `Response#inspectable_body`, `Response#decoded_body`. `decoded_body` will \
atempt to decode
the HTTP response into your internal encoding, using the charset header that \
the server has
provided. Note that this operation may fail - if the server said that the body \
is in a certain
encoding, but this is then overridden with, say, `meta` elements in the HTML \
Patron is _not_
going to parse the HTML to figure out how to decode.
### 0.7.0
* Allow Ruby File objects to be passed as `data` to `Session#put`, `Sesion#post` etc.
### 0.6.5
* Prevent libCURL from doing requests to non-HTTP/HTTPS URLs, and from following \
redirects to such URLs
### 0.6.4
* Set the default User-Agent string, since some sites require it (like the \
Github API).
* Add Response#ok? and Response#error? for cleaner branching on the returned \
Response objects
* Explain a segfault with SSL in forked processes on OSX, document the way to \
avoid the issue
* Fix segfault when attempting multiple post requests with multipart (#119)
### 0.6.3
* Fix timeout when uploading a body using all verbs except POST
* Add PATCH HTTP verb support
* Populate the curl state object from the reader methods of `Request`
### 0.6.1
* Fix compilation on older versions of libCURL
* Fix cookie jar files not being saved after request
* Reformat the gem documentation to YARD, document a few behaviors
### 0.6.0
* Add `Patron::Session#automatic_content_encoding` for automatic deflate \
handling via `Accept`/`Content-Encoding`
### 0.5.1
* Allow customizing the class used for the response (now uses \
`Session#response_class` to determine the class at runtime)
* Do not fail body decoding if the charset name set in the header is invalid
Files: