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

http: Expose http.validateHeaderName/Value #33119

Closed
wants to merge 1 commit into from
Closed

http: Expose http.validateHeaderName/Value #33119

wants to merge 1 commit into from

Commits on May 5, 2020

  1. http: expose http.validate-header-name/value

    The use-case is for any framework that provides user mw a response
    replacement, that collects the desired response state, and applies them
    only on conclusion. As such a framework, I'd want to validate the header
    names and values as soon as the user-code provides them. This - to
    eliminate errors on response-send time, and provide developer stack trace
    that contains the line that submits the offending values.
    osher committed May 5, 2020
    Configuration menu
    Copy the full SHA
    8f34a69 View commit details
    Browse the repository at this point in the history