Skip to content

Releases: fracpete/requests4j

Release v0.1.6

Choose a tag to compare

@fracpete fracpete released this 25 May 04:10
  • 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

Choose a tag to compare

@fracpete fracpete released this 23 May 03:05
  • 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

Choose a tag to compare

@fracpete fracpete released this 21 May 01:42
  • parameters can also be String[] or java.util.List objects now, getting added to the URL multiple times

Release v0.1.3

Choose a tag to compare

@fracpete fracpete released this 21 May 01:40
  • 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

Choose a tag to compare

@fracpete fracpete released this 03 Dec 22:42
  • now handles relative redirects properly

requests4j-0.1.1

Choose a tag to compare

@fracpete fracpete released this 03 Dec 22:43
  • added support for missing OPTIONS method

requests4j-0.1.0

Choose a tag to compare

@fracpete fracpete released this 29 Nov 01:39
  • swapped out underlying code, now using Apache's HttpClient
  • separated core package into request and response
  • removed hostname verification support

requests4j-0.0.4

Choose a tag to compare

@fracpete fracpete released this 16 Sep 04:14
  • added basic support for proxies in Request objects (proxy(...), noProxy())

requests4j-0.0.3

Choose a tag to compare

@fracpete fracpete released this 16 Sep 03:36
  • 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

Choose a tag to compare

@fracpete fracpete released this 16 Sep 03:39
  • 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