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

fix: improve get headers from request #2190 #2271

Merged
merged 3 commits into from
May 26, 2021
Merged

fix: improve get headers from request #2190 #2271

merged 3 commits into from
May 26, 2021

Conversation

juanpicado
Copy link
Member

@juanpicado juanpicado commented May 22, 2021

Fix #2190

It improves how to access to the request headers, instead req.headers['xxx] by using req.get('xxx') http://expressjs.com/en/api.html#req.get which is does case-insensitive matching.

@juanpicado juanpicado linked an issue May 22, 2021 that may be closed by this pull request
@juanpicado juanpicado marked this pull request as ready for review May 22, 2021 21:00
@juanpicado juanpicado requested a review from a team May 25, 2021 07:25
src/lib/utils.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[V5] Verdaccio is not working behind http2 proxy
2 participants