jadahl / mod_restful

RESTful interface to ejabberd
84 stars 34 forks source link

mod_restful chokes on charset specification #6

Closed taybin closed 12 years ago

taybin commented 12 years ago

Some REST clients set the Content-Type as "application/json; charset=UTF-8". This results in a bad_match inside mod_restful, which expects "application/json".

Even though charset=UTF-8 is redundant with JSON, it would be nice if mod_restful accepted this formulation anyways.

taybin commented 12 years ago

Replaced by pull request: https://github.com/jadahl/mod_restful/pull/9