Yes, most web servers accept POST as well as GET. But most web pages don't
have an RFC defining their content. :-)

Also, regular web pages generally use POST for form submission. Form-field
encoding is well-defined for both POST & GET requests, so except for the
low-level field decoding, web servers can treat GET & POST identically.
The difference is only important in the browser (for caching) or in
proxies along the way.

        - Wendy Roome

On 07/17/2014, 03:26, "Stephane Bortzmeyer" <[email protected]> wrote:

>On Wed, Jul 16, 2014 at 11:10:21AM -0400,
> Wendy Roome <[email protected]> wrote
> a message of 29 lines which said:
>
>> If a client sends a POST request to a GET-mode service, like Full
>> Cost Map, should the ALTO server reject the request? Or should the
>> server accept the request anyway, and just return the map?
>
>Note that a regular HTTP server, serving static data (such as a
>network map), accepts POST and generates the same reply as a GET.
>
>% curl -v -X POST http://www.ietf.org/meeting/90/index.html
>...
>> POST /meeting/90/index.html HTTP/1.1
>> User-Agent: curl/7.37.0
>> Host: www.ietf.org
>> Accept: */*
>> 
>< HTTP/1.1 200 OK
>< Server: cloudflare-nginx
>< Date: Thu, 17 Jul 2014 07:25:27 GMT
>< Content-Type: text/html
>...
>


_______________________________________________
alto mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/alto

Reply via email to