I am making a POST to
with the following headers (at least that's what firebug says)
and I get a 500 server error as a response.
I post this content
The very same code is working fine in xwiki 2.6.2 so this is a regression.
I get this in the logs