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

Response body should be optional #5

Closed
carllerche opened this issue Jul 2, 2014 · 2 comments · Fixed by #105
Closed

Response body should be optional #5

carllerche opened this issue Jul 2, 2014 · 2 comments · Fixed by #105

Comments

@carllerche
Copy link
Contributor

Some responses do not include bodies. This should be represented by the response struct.

@davidrhyswhite
Copy link
Contributor

Would these be represented as an Option, I ask because I have a couple of libs with dependencies on this project and would happily do the work myself given a little guidance considering I'm still fairly new to Rust.

@carllerche
Copy link
Contributor Author

I think an Option<Body> would be appropriate.

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

Successfully merging a pull request may close this issue.

2 participants