Skip to content

Support multiline headers in HTTP parsing #653

Open
@ianbotsf

Description

@ianbotsf

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment

Describe the Feature

The current HTTP layer via ktor-http-cio does not support parsing multiline headers (because they are deprecated) or paths with spaces in them. We should make our parsing layer capable of handling these edge cases.

Is your Feature Request related to a problem?

The lack of parser flexibility means that some of the SigV4 signing suite tests have to be disabled (get-header-value-multiline, get-space-normalized, and get-space-unnormalized).

Proposed Solution

Possibly replace ktor-http-cio as the HTTP layer.

Describe alternatives you've considered

(none)

Additional Context

(none)

  • I may be able to implement this feature request

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestno-auto-closureWe do not want this issue to be automatically closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions