mashupbots / socko

A Scala web server powered by Netty networking and AKKA processing.
Other
255 stars 51 forks source link

toFormDataMap() in DefaultHttpContent rejects valid(?) content type #104

Closed iachimoe closed 9 years ago

iachimoe commented 9 years ago

toFormDataMap returns an empty map if the content type doesn't exactly match application/x-www-form-urlencoded When making PUT requests with XMLHttpRequest, Firefox automatically tacks on a charset, yielding a content type of "application/x-www-form-urlencoded; charset=UTF-8", which prevents toFormDataMap from finding the parameters.

iachimoe commented 9 years ago

Doh, just realised that this has actually been fixed already. Apologies for the false alarm.