[ic] json content-type Unsupported

Gert van der Spoel gert at 3edge.com
Thu Oct 22 07:13:18 UTC 2009


> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
> users-bounces at icdevgroup.org] On Behalf Of Mathew Jones
> Sent: Thursday, October 22, 2009 12:34 AM
> To: interchange-users at icdevgroup.org
> Subject: [ic] json content-type Unsupported
> 
> Hi,
> 
> I am serving some json content from within interchange, and was
> receiving a "415 Unsupported
> Content-Type for POST method" error message when calling the file using
> XMLHttpRequest. I tracked it
> down to Server.pm which was checking valid content type. It seems only
> to be allowing the following:
> 
> "multipart/form-data|application/x-www-form-urlencoded|application/xml"
> (line 254, in 5.6.2)
> 
> Is there a reason that content type 'application/json' was not chosen
> to be in the list?

Age(json) < Age(interchange) ? :)




More information about the interchange-users mailing list