W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: [cors] Content-Type

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 22 Jun 2011 16:38:57 +0200
Message-ID: <4E01FE81.9040002@gmx.de>
To: Anne van Kesteren <annevk@opera.com>
CC: WebApps WG <public-webapps@w3.org>, Jonas Sicking <jonas@sicking.cc>
On 2011-06-22 14:44, Anne van Kesteren wrote:
> Currently when making a preflight request user agents are required to
> include "content-type" in the Access-Control-Request-Headers header if
> the author specified a Content-Type header. However, this Content-Type
> header included in the actual request can contain a header value allowed
> by "simple headers", such as "text/plain". Is it a problem that the
> server cannot distinguish which Content-Type header is meant? The
> primary reason for the preflight request is awareness, but it still
> strikes me as icky.
> ...

I just had a quick look at the spec, and couldn't find an example 
message flow; it would be very helpful to see one.

Best regards, Julian
Received on Wednesday, 22 June 2011 14:39:38 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:32 UTC