Fixed
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Brad Wood
Brad WoodPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Created 16 August 2021 at 21:00
Updated 1 June 2022 at 07:27
Resolved 2 March 2022 at 08:10
The mimetype key on the CFHTTP struct is supposed to be
https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-g-h/cfhttp.html
However, when hitting an HTTP request which returns a Content-Type of "application/x-www-form-urlencoded", Lucee incorrectly returns a mimetype of "text/plain" which makes no sense.
Lucee also returns the fileContent as a String, whereas Adobe CF returns an instance of ByteArrayOutputStream instead.
https://trycf.com/gist/3f7bf81c535d591ff7c6f27ba3d32a98/lucee5?theme=monokai