• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

war file download has bad mime type

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
reply
    Bookmark Topic Watch Topic
  • New Topic