Hey Eki,

hostname = the name of your app
filename = the name of the jar file


telnet hostname 80
HEAD filename HTTP/1.1
Host: hostname

(2 returns)

What does it say is the Content-Type?

There is probably an easier way to just use firefox ...

--Keenan

On Jun 23, 2010, at 6:53 AM, Eki wrote:

> Hi there ,
> Is there anyway to setup mime-type of jar file , I need my mobile app
> to download some jar file in public folder , I adding some code for
> mime_type.rb file something like this :
> 
> Mime::Type.register "text/vnd.sun.j2me.app-descriptor", :jad
> Mime::Type.register "application/java-archive", :jar
> 
> but still not working . whenever I read the jad file it read it as
> text instead of downloading it .
> 
> Any help will be highly appreciated .
> 
> Cheers
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to