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

Add something like part.get() or part.header() #153

Open
borekb opened this issue Nov 2, 2016 · 1 comment
Open

Add something like part.get() or part.header() #153

borekb opened this issue Nov 2, 2016 · 1 comment

Comments

@borekb
Copy link

borekb commented Nov 2, 2016

It would be good to have something like part.get(name: string) (express-style) or part.header(name: string) (more logical, IMO) to be able to get HTTP headers using case-insensitive search. Currently, the only way to get the headers is from the part.headers array which strictly uses lower-case strings, i.e., not necessarily what came from the client.

@dougwilson
Copy link
Contributor

PRs welcome!

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

No branches or pull requests

2 participants