Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.23.1, 2.0.0-alpha
-
None
-
None
-
Reviewed
Description
The append/create requests should require 'application/octet-stream' as content-type when uploading data. This is to prevent the default content-type form-encoded (used as default by some HTTP libraries) to be used or text based content-types to be used.
If the form-encoded content type is used, then Jersey tries to process the upload stream as parameters
If a test base content-type is used, HTTP proxies/gateways could do attempt some transcoding on the stream thus corrupting the data.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-11222 Document application/octet-stream as required content type for data upload requests in HTTPFS
- Patch Available