aspose file tools*
The moose likes JForum and the fly likes war file download has bad mime type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "war file download has bad mime type" Watch "war file download has bad mime type" New topic
Author

war file download has bad mime type

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
See below HTTP log. Basically, this causes issues with using lynx or curl on servers when downloading directly for an install.

Thanks!

########
http://jforum.net/download_file.jsp?type=war

GET /download_file.jsp?type=war HTTP/1.1
Host: jforum.net
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://jforum.net/download.jsp
Cookie: jsessionid=gcmhbl8f2omv.jetty1; __utma=45548415.850760579.1240883063.1240883063.1240883063.1; __utmb=45548415; __utmc=45548415; __utmz=45548415.1240883063.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

HTTP/1.x 302 Found
Date: Tue, 28 Apr 2009 02:02:31 GMT
Content-Type: text/html
Location: http://jforum.net/releases/jforum-2.1.8.war
Content-Length: 0
Server: Jetty(6.1.11)

[originally posted on jforum.net by javafueled]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: war file download has bad mime type