Releases: jcabi/jcabi-http
Bug fix
Request.fetch(InputStream)
New method fetch(InputStream)
added to Request
, as suggested in #36
@Immutable.Array annotation
@Immutable.Array
annotation added, from jcabi-aspects 0.17.1
AutoRedirectingWire bug fix
This version fixes a major bug in AutoRedirectingWire
, now it works as expected
AutoRedirectingWire
AutoRedirectingWire
introduced
Logging fix
Logging fix
Conditional HTTP answers
This version implements a new feature of conditional answers, discussed and implemented in #19
jcabi-matchers
This versions uses jcabi-matchers instead of rexsl-text for XPath assertions
Dependencies removed
In this version we removed three dependencies: commons-lang3, commons-io, and commons-codec. Now the library is much smaller and much easier to use in non-Maven projects.
Besides that, an ability to use Jsoup was added with JsoupResponse
class. You can clean up an output HTML page using Jsoup, like this:
String body = new JdkRequest("http://my.example.com")
.header(HttpHeaders.ACCEPT, MediaType.APPLICATION_JSON)
.fetch()
.as(JsoupResponse.class)
.body();
JSON parsing bug fixed
#12 fixed in this version, JSON is parseable now