Skip to content

HTTP GET Request with a long URI produces a 400 Bad Request error (should be 414)Β #26296

@RMHonor

Description

@RMHonor
  • Version: v10.13.0 (docker image node:lts-alpine)
  • Platform: Linux 552c097b0775 4.9.125-linuxkit deps: update openssl to 1.0.1jΒ #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 Linux (docker image node:lts-alpine)

Performing a GET request with a URI too long (as specified in https://github.com/nodejs/http-parser/blob/master/http_parser.h#L55) throws a 400 Bad Request error. This should be a 414 URI Too Long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    httpIssues or PRs related to the http subsystem.

    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