1

From w3schools:

the GET method adds the data to the URL; and the length of a URL is limited (maximum URL length is 2048 characters)

And from the HTTP SPEC:

The HTTP protocol does not place any a priori limit on the length of
a URI. Servers MUST be able to handle the URI of any resource they
serve, and SHOULD be able to handle URIs of unbounded length if they
provide GET-based forms that could generate such URIs. A server
SHOULD return 414 (Request-URI Too Long) status if a URI is longer
than the server can handle (see section 10.4.15).

  Note: Servers ought to be cautious about depending on URI lengths
  above 255 bytes, because some older client or proxy
  implementations might not properly support these lengths.

Is this a mistake from w3schools?

Manos Nikolaidis
  • 21,608
  • 12
  • 74
  • 82
The Student
  • 27,520
  • 68
  • 161
  • 264

0 Answers0