Hi folks! I am having a problem with mimeType for zip files. I have a zip file that I am trying to upload to a Pier component called Gallery. This component expects a file with mimeType &quot;application/zip&quot;.<br><br>
1) Situation in Ubuntu and firefox:<br><br>After debugging I found this problem: My file is called &quot;fotos.zip&quot; and if I do in a linux console: file -i fotos.zip y get &quot;application/zip&quot;. <br>However, when I uploaded it to seaside, the mimeType is interpreted as  &#39;x-zip-compressed&#39;. When debugging, I saw MAFileModel  then WAFile and then MultipartChunk. In MultipartChunk  initializeFrom: aDictionary there is this code:<br>
<br>contentType := header at: &#39;content-type&#39; ifAbsent: [MIMEDocument defaultContentType].<br><br>In this case, header at: &#39;content-type&#39; answers me &quot;x-zip-compressed&quot;. And if I see <br>HttpRequest&gt;&gt;nextChunkHeader   it is also there like &quot;x-zip-compressed&quot;.<br>

<br><br>2) Situation in Windows Vista and firefox:  the same as 1)<br><br>3) Situation in Windows Vista and IE:<br> header at: &#39;content-type&#39; answers &quot;key not found&quot;  :(<br><br>Does someone know what can be happening?<br>
<br>Thanks for any help you can give me.<br><br>Cheers,<br><br>Mariano<br><br>