News for hackers. Stuff that matters.
Re:W3C HTML JSON form submission by luikore on Wednesday November 26, 2014 @11:26PM (#8665986)
I don't agree with Example 9, we should use data uri scheme for file content

    "files": [{
      "name": "dahut.txt",
      "src": "data:text/plain;base64,REFBQUFBQUFIVVVVVVVVVVVVVCEhIQo="
    }]
http://en.wikipedia.org/wiki/Data_URI_scheme
Re:W3C HTML JSON form submission by theandrewbailey on Monday December 01, 2014 @01:00PM (#8682551)
1. Other form encoding types have discrete MIME type fields.

2. While data URIs are awesome, it forces you to process that URI in some way (parse, regex, whatever) just to get the MIME type. Also, this forces 13 bytes of redundancy every time.