Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. HTTP
  3. Reference
  4. HTTP response status codes
  5. 414 URI Too Long

414 URI Too Long

The HTTP414 URI Too Longclient error response status code indicates that a URI requested by the client was longer than the server is willing to interpret.

There are a few rare conditions when this error might occur:

  • a client has improperly converted aPOST request to aGET request with long query information,
  • a client has descended into a loop of redirection (for example, a redirected URI prefix that points to a suffix of itself), or
  • the server is under attack by a client attempting to exploit potential security holes.

Some systems implement414 URI Too Long as414 Request-URI Too Large.

Status

http
414 URI Too Long

Examples

Form submission using GET

In the following example, an HTML<form> method accidentally usesget instead ofpost.A large amount of form data is appended to the URL specified at the form'saction attribute and is sent as a GET request:

http
GET /search?feedback=it+was+the+best+of+times+it+was+the+worst+of+times… HTTP/1.1Host: example.com

The particular server's URI length limit is reached with this request and a 414 is sent in response:

http
HTTP/1.1 414 URI Too LongContent-Type: text/html; charset=UTF-8Date: Fri, 28 Jun 2024 11:40:58 GMTContent-Length: 1234<!doctype html><head>  <title>414 - URI Too Long</title></head>  <body>    <h1>414 - URI Too Long</h1>    <p>The URI provided was too long for the server to process.</p>  </body></html>

Specifications

Specification
HTTP Semantics
# status.414

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp