Dyalog / Dyalog/Jarvis

Return 431 status when headers are too large

Open
#45 1 comment 0 reactions 1 assignee Claimed by @bpbecker View on GitHub
enhancement
Dominant language
APL
Stars
40
Forks
15
PR merge metrics
No merged PRs in 30d

Description

When a request's headers exceed BufferSize we currently handle it as a DRC.Wait error and close the connection. I believe the more proper way to handle it is to issue a HTTP 431. This will give the client more information on how to correct the request.

[431 Request Header Fields Too Large](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431)

The server is unwilling to process the request because its header fields are too large. The request may be resubmitted after reducing the size of the request header fields.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.