This package provides some useful types and functions which work with elm-lang/http
For new projects, I would recommend using lukewestby/elm-http-builder instead of this package. It is capable of doing everything this package does, and more.
The Request
type in the Http
module
is opaque, in the sense that once you have a Request
, you cannot extract its
parts in order to construct a different Request
.
Thus, we supply a RawRequest
type (and associated functions) as a
workaround, allowing you to work with the parts of a request.
We also provide some functions for adding a cache-busting parameter to
a RawRequest
.