Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
### 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
|
|
|
|
* Cast request body to string when uploading
* Add the ability to override the Response class
* Ensure the form data is freed in cleanup
* Don't fail with invalid charset names
|
|
|
|
Changes are not available. Please refer:
https://github.com/toland/patron/compare/v0.4.20...v0.5.0
|
|
* fix base url concatenation
* Adds instantiation settings via block or hash.
Fixes .downcase being called on symbols.
Cleaned up
Cleans up hash setter. Adds block support
Adds tests for hash and block instantiation
Undoes string fix for patron/request.rb to keep with scope.
* Handle two failing specs
One is failing due to no OS support for SSLv2. This is reasonable,
so I just removed SSLv2 from the list of SSL versions to test. This
doesn't change the meaning of the test at all.
I could not find the root cause of the other spec failure, though
I suspect it is a setup problem. I have disabled the spec for now
and will revisit it later on.
* Add doc comment
* Add a way to get the Request object
* Revert request action to be a symbol, but still allow upcase and
downcase strings.
|
|
not use libtool to do so. This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
|
|
|
|
|
|
|
|
|
|
Exact changes are unknown.
|
|
* Bump PKGREVISION.
|
|
Changes are unknown.
|
|
Compact changes are not available but some ruby19 related improvement.
Please refer detail: https://github.com/toland/patron/commits/master
|
|
Changes are unknown.
|
|
|
|
* Added URL encoding when an action is a POST.
|
|
0.4.10.
* buffer size option.
* Added mutipart post.
|
|
|
|
0.4.9
use rb_hash_foreach to make this work on rubinius and jruby
|
|
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Remove default value of GEM_BUILD.
* Ajust new ruby package's framework.
Changes are unknown.
|
|
|
|
Patron is a Ruby HTTP client library based on libcurl. It does not try
to expose the full "power" (read complexity) of libcurl but instead
tries to provide a sane API while taking advantage of libcurl under
the hood.
|