Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Http.elm
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ resolve toResult response =

- `BadUrl` means you did not provide a valid URL.
- `Timeout` means it took too long to get a response.
- `NetworkError` means the user turned off their wifi, went in a cave, etc.
- `NetworkError` means the user turned off their wifi, went into a cave, etc.
- `BadStatus` means you got a response back, but the status code indicates failure.
- `BadBody` means you got a response back with a nice status code, but the body
of the response was something unexpected. The `String` in this case is a
Expand Down Expand Up @@ -624,7 +624,7 @@ expectBytesResponse toMsg toResult =

- `BadUrl_` — you did not provide a valid URL.
- `Timeout_` — it took too long to get a response.
- `NetworkError_` — the user turned off their wifi, went in a cave, etc.
- `NetworkError_` — the user turned off their wifi, went into a cave, etc.
- `BadStatus_` — a response arrived, but the status code indicates failure.
- `GoodStatus_` — a response arrived with a nice status code!

Expand Down