Skip to content

Fix typo #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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