[Zope] Size of a variable passed by REQUEST?
Dieter Maurer
dieter@handshake.de
Wed, 13 Mar 2002 21:15:07 +0100
Breitenreicher, Marc writes:
> does someone know, if there's a limit, how large a variable, that should be
> set into the REQUEST, can be?
>
> May a variable have the size of 100 or 400 characters or unlimited?
> What happens, if the variable is too large? Will the rest get cut off?
HTTP 1.1 specifies that there should be not limit but warns
that older HTTP software (browsers, clients) may impose a limit on
the length of the query string. Therefore, you should use
"POST" (rather than "GET") requests to transfer data sets with
eithe large numbers of variables or some large variable values.
See the "Web Publishing" section of
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>
to learn more about "GET" and "POST" requests.
Dieter