This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "war file download has bad mime type" Watch "war file download has bad mime type" New topic

war file download has bad mime type

Migrated From
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.



GET /download_file.jsp?type=war HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv: 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
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
Content-Length: 0
Server: Jetty(6.1.11)

[originally posted on by javafueled]
Have you tried LearnNowOnline?
subject: war file download has bad mime type