Skip to content
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

Export statusCode #468

Open
luntain opened this issue Jul 24, 2021 · 1 comment
Open

Export statusCode #468

luntain opened this issue Jul 24, 2021 · 1 comment

Comments

@luntain
Copy link

luntain commented Jul 24, 2021

It is common to need statusCode in the code making use of this library, therefore it would be convenient to make it available together with responseStatus function. Otherwise one needs to import it from Network.HTTP.Types.Status and add http-types package to the cabal project, not to mention identifying those details in the documentation, which is rather tedious.

@snoyberg
Copy link
Owner

I'm open to a PR with these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants