Closed
Description
There's a VALUE ERROR on ct in HandleRESTRequest under the following conditions:
- You're using REST mode
- You have ParsePayload turned on
- The request method is one that requires a payload (e.g. POST or PATCH)
- The ContentType header is not a type we can parse (not application/json or application/xml)
The fix is straightforward - ct should have been assigned from ns.Req.ContentType when we go to check the content type.
In fact ct was already localized, I just forgot to assign it.