title: Dropzone.js doesn't upload .zip files
body: <p>I have to upload ZIP archives with dropzone, when I select the archive I see the progress bar going from 0 to 100, but the request never reaches the server, the action I specified in my form is never called.
  This is the file uploader on my page:</p>
  
  <pre><code>&lt;form action="URL_ACTION" class="dropzone dropzone-file-area" id="dropzoneZip" method="post" enctype="multipart/form-data"&gt;
    &lt;div class="fallback"&gt;
       &lt;input name="file" type="file" /&gt;
       &lt;input type="submit" value="Upload" name="upload" /&gt;
    &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>This is my JS code:</p>
  
  <pre><code>Dropzone.options.dropzoneZip = {
          dictDefaultMessage: "Drag files here o click to upload",
          maxFiles: 1,
          acceptedFiles: ".zip",
          init: function () {
              this.on("error", function (file, errorMessage) {
                  alert("error : " + errorMessage);
              });
              this.on("addedfile", function (e) {
                  var n = Dropzone.createElement("&lt;a href='javascript:;' class='btn red btn-sm btn-block'&gt;Remove&lt;/a&gt;"),
                      t = this;
                  n.addEventListener("click", function (n) {
                      n.preventDefault(), n.stopPropagation(), t.removeFile(e)
                  }), e.previewElement.appendChild(n)
              }),
              this.on("complete", function (data) {
                  if (data.xhr.responseText == "success") {
                      swal({
                          title: 'Success',
                          text: 'File uploaded',
                          type: "success"
                      }).then(
                      function () {
                          $(".se-pre-con").fadeIn("slow");
                          location.reload();
                      })
                  }
              }),
              this.on('error', function (file, errorMessage) {
                  if (errorMessage != "success") {
                      var errorDisplay = document.querySelectorAll('[data-dz-errormessage]');
                      errorDisplay[errorDisplay.length - 1].innerHTML = errorMessage;
                  }
                  else if (errorMessage.indexOf('404') !== -1) {
                      var errorDisplay = document.querySelectorAll('[data-dz-errormessage]');
                      errorDisplay[errorDisplay.length - 1].innerHTML = 'Error 404: The upload page was not found on the server';
                  } else if (errorMessage.indexOf('500') !== -1) {
                      var errorDisplay = document.querySelectorAll('[data-dz-errormessage]');
                      errorDisplay[errorDisplay.length - 1].innerHTML = 'Error 500: Internal server error';
                  }
              });
          }
      }
  </code></pre>
  
  <p>This is the code of my action where I check the file type:</p>
  
  <pre><code>  if (Request.Files != null &amp;&amp; Request.Files.Count &gt; 0)
    {
        if (Request["type"]=="zip" &amp;&amp; (Request.Files[0].ContentType == "application/x-compressed" || Request.Files[0].ContentType == "application/x-zip-compressed" || Request.Files[0].ContentType == "application/zip" || Request.Files[0].ContentType == "multipart/x-zip"))
          uploadZip();
    }
  </code></pre>
  
  <p>But this action is never reached. I tried to upload images with the same method and it works normally. I cannot figure out what I'm doing wrong</p>