Skip to content

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

Closed
@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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions