Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: HTTPBuilder-0.5.0
-
Fix Version/s: HTTPBuilder-0.5.1
-
Component/s: HttpBuilder
-
Labels:None
-
Number of attachments :
Description
URLENC parsing is done via URLEncodedUtils. Unfortunately, that method has a test to verify the content-type before parsing the data. HTTPBuilder already tests for the content-type, but wants to allow manually parsing a response even if the content-type is wrong (as in the case of Twitter's OAuth response.) So I need to fake a content-type if the response has it wrong.
Fixed in r846