Q
Q
Quber2015-01-06 12:32:13
PHP
Quber, 2015-01-06 12:32:13

How many characters does a GET string contain?

How many characters does a GET string hold, and where does the count start from the first letter h in the word http or where does the domain name end
http://site.ru/
or from a question mark in
http://site.ru/?search=test
Can modern browsers use more than 256 characters?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Grigory Dikiy, 2015-01-06
@Quber

it all depends on the browser, but as far as I know, modern browsers are able to read 60 kb from it. Everything is read , the browser uses not only HTTP , so absolutely all characters are included . 1 byte encodes one character, so count how many characters

R
raiboon, 2015-01-06
@raiboon

Only 2k characters are relatively safe.
Ideally 255.
stackoverflow.com/questions/417142/what-is-the-max...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question