It depends on the type of server you are trying to access.
For instance:
Apache: limits the length of the URL to LimitRequest *, the default URL is 8 Kbytes.
Microsoft Internet Information Server: By default, it has 16 KB. But it can be changed.
Perl HTTP :: Daemon: 8,000 characters for the URL length and 16 KB for the HTTP header. Values ββare subject to change in Daemon.pm.
source share