zeroflag opened a new pull request, #5721: URL: https://github.com/apache/hadoop/pull/5721
### Description of PR When uploading a file WebHDFS will set the content type to application/x-www-form-urlencoded, as this is the default used by jQuery This causes knox to urlencode the request body so that uploading a CVS file 1,2,3 will result 1%2C2%2C3. Instead of application/x-www-form-urlencoded I think the encoding should be set to application/octet-stream. ### How was this patch tested? Tested manually using webhdfs UI ### For code changes: content type is explicitly set to octet stream -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
