• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

war file download has bad mime type

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic