urlMaxSize property
Maximum size of a URL path and query before it is rejected.
Although HTTP (RFC 2616) does not specify any length limits for URLs, implementations usually do (e.g. Microsoft Internet Explorer limits URLS to 2083 characters and the path length to be 2048 characters). https://support.microsoft.com/en-us/kb/208427
Currently, this is compared to the path and query string, so the complete URI might actually be a bit longer.
Implementation
int urlMaxSize = 2048;