Safari xhr drag'n'drop file upload seems to occur twice
It can be related to Webfaction configuration (they have nginx proxy, and my app is webpy running under apache2+mod_wsgi) because it works in my dev cherrypy server. Here are some bits from javascript code I use for upload: /* Bind drop events */ $(this).bind({ "dragover": function(e){ var dt = e.originalEvent.dataTransfer; if(!dt) return; if($.browser.webkit) dt.dropEffect = 'copy'; $(this).addClass("active"); return false; }, "dragleave": function(e){ $(this).removeClass("active") }, "dragenter": function(e){return false;}, "drop": function(e){ var dt = e.originalEvent.dataTransfer; if(!dt&&