mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bogdan Ciprian Pistol <bogdancipr...@gmail.com>
Subject Re: [Vysper BOSH] Response to HTTP GET (and other non-POST methods)
Date Sun, 25 Jul 2010 08:33:58 GMT
I agree with the proposed return code, it's more appropriate.
Besides POST, the OPTIONS method is needed for preflighted requests
when using Cross-Origin Resource Sharing (cross-domain Ajax).

Bogdan

On Fri, Jul 23, 2010 at 11:34 PM, Niklas Gustavsson
<niklas@protocol7.com> wrote:
> Hi
>
> In the current implementation, we return HTTP 200 with a content
> describing that POST is required. How about we instead return 405 with
> the description in the status line?
>
> /niklas
>

Mime
View raw message