Releases: lukewestby/elm-http-builder
Releases · lukewestby/elm-http-builder
2.0.0
Fixes:
- corrects behavior with
withZeroStatusAllowed
internal behavior so that it no longer looks forfile://
protocol - documentation corrected for
put
function
Breaking changes:
withFileZeroStatusAllowed
renamed towithZeroStatusAllowed
to reflect new behavior
Thanks to @ccapndave and @rudle for the work in this release!
1.1.0
Additions:
Two new chaining functions!
withCacheBuster : RequestBuilder -> RequestBuilder
: at the time the request is sent, first grab the current time fromTime.now
and append a url parameter_=<current time>
to it to break server caching. Thank you to @canadaduane for this one! Closes #2.withFileZeroStatusAllowed : RequestBuilder -> RequestBuilder
: if the request is for afile://
url and returns with a status code of 0, allow it through as a successful response as if its status were 200. This helps with a common issue encountered in environments like Cordova. Thank you to @ccapndave for this one!
Release for 0.17 as HttpBuilder
Release notes:
- Everything previously under Http.Extra is now under HttpBuilder