haskell / haskell/wreq

Document what responses result in exceptions

Open
#125 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
381
Forks
72
PR merge metrics
No merged PRs in 30d

Description

Suggest that the documentation be more explicit on what responses result in exception.

In particular, what status codes result in an exception? What statuses are the responsibility of client code?

I see a lens for `checkResponse` that I suspect gives some control. But in `defaults` the value for it is `Nothing` and yet `get` throws exceptions on non-200 statuses. I can't find much documentation of that option, either.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.