Skip to content

Releases: fracpete/requests4j

Release v0.1.6

25 May 04:10
Compare
Choose a tag to compare
  • Added support for sending a payload with the DELETE method. Though this is not recommended by RFC 7231, section 4.3.5, other Python frameworks like requests and django support it

Release v0.1.5

23 May 03:05
Compare
Choose a tag to compare
  • introduced Resendable interface, implemented by parameter, attachment and Request classes (NB: a stream parameter from an InputStream cannot be resent)
  • Request.canResend() method returns whether the request can be resent again (eg if it fails due to outdated authentication headers)

Release v0.1.4

21 May 01:42
Compare
Choose a tag to compare
  • parameters can also be String[] or java.util.List objects now, getting added to the URL multiple times

Release v0.1.3

21 May 01:40
Compare
Choose a tag to compare
  • made it easier to post a single file or byte array via Request.attachment(AbstractAttachment); adds a Content-Disposition header with attachment (byte array) or attachment; filename=NAME (file)

requests4j-0.1.2

03 Dec 22:42
Compare
Choose a tag to compare
  • now handles relative redirects properly

requests4j-0.1.1

03 Dec 22:43
Compare
Choose a tag to compare
  • added support for missing OPTIONS method

requests4j-0.1.0

29 Nov 01:39
Compare
Choose a tag to compare
  • swapped out underlying code, now using Apache's HttpClient
  • separated core package into request and response
  • removed hostname verification support

requests4j-0.0.4

16 Sep 04:14
Compare
Choose a tag to compare
  • added basic support for proxies in Request objects (proxy(...), noProxy())

requests4j-0.0.3

16 Sep 03:36
Compare
Choose a tag to compare
  • the body of a Request can be either String to byte[] now
  • added add(Map<String,String>) method to FormData class (package com.github.fracpete.requests4j.form)

requests4j-0.0.2

16 Sep 03:39
Compare
Choose a tag to compare
  • introduced HTTPResponse interface (package com.github.fracpete.requests4j.core) and the ability to supply a configured HTTPResponse object to the execute method, eg for streaming data rather than storing it in memory
  • new HTTPResponse classes in package com.github.fracpete.requests4j.core:
    • FileResponse - writes received data straight to specified file
    • StreamResponse - writes received data to provided java.io.OutputStream