Last active
March 28, 2019 09:52
-
-
Save jzxhuang/982c7d083a37e42d1148a6c7847ca73c to your computer and use it in GitHub Desktop.
Handling Detailed HTTP Responses in Elm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type alias Metadata = | |
{ url : String | |
, statusCode : Int | |
, statusText : String | |
, headers : Dict String String | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment