Skip to content

Test mistake? #238

@torsten-schenk

Description

@torsten-schenk

The test https://github.com/nodejs/llhttp/blob/main/test/request/content-length.md#no-error-on-simultaneous-content-length-and-transfer-encoding-identity-lenient specifies "Transfer-Encoding: identity" in the title but actually uses "Transfer-Encoding: chunked" in the test itself.

Expected: lenient parsing seems to accept Transfer-Encoding: chunked and Content-Length set at the same time. Is that the expected behaviour? Does it accept Transfer-Encoding: identity in lenient mode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions