Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Enable custom header encoding #564

@Tratcher

Description

@Tratcher

Officially request and response headers are restricted to ASCII. Historically however ANSI and local code pages were supported. There are also some cases where UTF-8 was used in for Unicode host names prior to the punycode standard (IE and HttpWebReqeuest on intranets), see Host and Location.

Default header encoding/decoding to utf-8. Allow this encoding to be set at startup. For performance reasons the encoding/decoding process can assume simple ASCII until it encounters 8bit values.

Related: #491 pre-encoded response headers.

RE: aspnet/HttpSysServer#123 (comment) [private]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions