Similar to ideas in https://github.com/gevent/gevent/pull/1523
Attach a file by drag & drop or click to upload