Prev | Current Page 437 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

The POST method does not use the query string to
pass the parameters; it encapsulates them in the request headers.
The protocol does not impose any size limit on the GET parameters but some (older) browsers and web
servers truncate the query string to a fixed (quite long) size. For this reason as a general rule of thumb,
the GET method is used with short, user - friendly parameters, while the POST is used for complex,
potentially very heavy content submissions. Finally, file uploads can be accomplished only using the
POST method.
So far, URI addresses have been used in their absolute form, a full path that includes the server address.
The relative form is also admitted in many contexts. A relative path is used to point to a resource in
relation to the current one or to a base one. A relative path does not specify a protocol because the
current context is used. The path is a combination of subdirectory names and a filename that, used in
conjunction with the current document address, directs to the desired resource.


Pages:
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449