Skip to content

Conversation

@hanscj1
Copy link

@hanscj1 hanscj1 commented Jan 10, 2017

Added a function that supports UniCase and extracts the specific value for a given header.

@seanmonstar
Copy link
Owner

Thanks for the pull request!

Is there a reason to include this in this crate, instead of just implementing this where one needs it? An issue I see here is that the unicase crate needs std, and httparse tries to work without it.

@hanscj1
Copy link
Author

hanscj1 commented Jan 10, 2017

I'll take a look at doing that in my library. It was just easier at the time. thx

@hanscj1
Copy link
Author

hanscj1 commented Jan 10, 2017

Just curious, I have seen several libraries lately working toward !std, why? thx

@seanmonstar
Copy link
Owner

I don't have any special interest in bending over backwards to make it work with no_std, but httparse just didn't need anything in std. The benefit is that people can use those libraries on small hardware, where executable size may be important, or access to a heap may not even exist.

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

Successfully merging this pull request may close these issues.

2 participants