Skip to content

Add ignore_invalid_headers option for HTTP/1 server requests #3825

@seanmonstar

Description

@seanmonstar

This proposes adding an option to hyper::server::conn::http1::Builder: ignore_invalid_headers(bool).

This could make use of the related option in httparse: https://docs.rs/httparse/latest/httparse/struct.ParserConfig.html#method.ignore_invalid_headers_in_requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-http1Area: HTTP/1 specific.A-serverArea: server.C-featureCategory: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions