runeof...@gmail.com wrote:
> Er det normalt at en browser s�tter en content-type lig med
>
> application/x-www-form-urlencoded
>
> ved en GET request? Alts� hvis en browser HENTER en side? Jeg har ikke set det f�r.
>
>
> MVH
> Rune Jensen
Det er vel html'en og ikke browseren der bestemmer. Get og urlencoded
lyder til v�re f�tre - '&' separatet list af key=value items postfixed
en url
Fra html 4.01 - 17.13.3 Processing form data
"
If the method is "get" and the action is an HTTP URI, the user agent
takes the value of action, appends a `?' to it, then appends the form
data set, encoded using the "application/x-www-form-urlencoded" content
type. The user agent then traverses the link to this URI. In this
scenario, form data are restricted to ASCII codes.
If the method is "post" and the action is an HTTP URI, the user agent
conducts an HTTP "post" transaction using the value of the action
attribute and a message created according to the content type specified
by the enctype attribute
"
Konceptionelt set, n�r enctype kun v�re en af disse:
* multipart/form-data
* application/x-www-form-urlencoded
bestemmer den vel ikke om det er GET eller POST, men om den n�dvendigvis
m� v�re POST (bin�r data indeholder garanteret ikke key/value pairs)
Mvh