You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2012/09/13 00:21:08 UTC
[jira] [Commented] (MESOS-274) Binary files over http endpoints.
[ https://issues.apache.org/jira/browse/MESOS-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454435#comment-13454435 ]
Benjamin Mahler commented on MESOS-274:
---------------------------------------
looking at the JSON RFC.. will probably just extend our current escaping rather than base64 encode
http://www.ietf.org/rfc/rfc4627.txt
> Binary files over http endpoints.
> ---------------------------------
>
> Key: MESOS-274
> URL: https://issues.apache.org/jira/browse/MESOS-274
> Project: Mesos
> Issue Type: Task
> Reporter: Benjamin Mahler
> Assignee: Benjamin Mahler
>
> We don't encode the json file data we send over http. This is an issue for binary files.
> We need to encode file data in base64, and decode on the receiving end (webui, cpp tests). We have to do this because it's tricky to protect against reading binary files.
> This would also obviate the need to escape unicode (which was left as a TODO in json.hpp)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira