Rerouted (regenerated, verified). Same repository and tag, but GitHub now builds the zip with different bytes, so it no longer matches the SHA-1 package.elm-lang.org recorded. The Lamdera package server serves a copy recovered from https://github.com/jinjor/elm-req.
What we checked: Tag 1.0.0 is still on github.com/jinjor/elm-req; its commit df124f1a72a5 is from 2018-12-01 14:29 UTC, before the version was published (2018-12-01 14:34 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip's SHA-1 is not the published one (GitHub's zip no longer comes out byte for byte the same), so the contents were checked instead.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/jinjor/elm-req/zipball/1.0.0/
Body
Part
Arbitrary method
GET
POST
PUT
PATCH
DELETE
Add text with mime type.
Add JSON for POST etc.
Add file to upload
Add bytes with mime type.
Add multipart body.
String part (key and value)
Add header
Add timeout
Allow cookies from other domains.
Create a task to parse string body.
Create a task to parse bytes body.
Ignore the result.
Create a task with existing Http.Resolver.
Make a resolver function that returns Http.Error.
getUserSimple : String -> Task Http.Error User
getUserSimple userName =
Req.get ("https://api.github.com/users/" ++ userName)
|> Req.stringTask (Req.simplyResolveJson userDecoder)Track progress of responses with string body.
Track progress of responses with bytes body.
Track something but ignore the result.
Make a traking Cmd using existing Http.Expect.
Request