Jerome Louvel <contact <at> noelios.com> writes:
> If you want a different name, just change
> your URI to "http://wasatch:8182/myfile.jar
> 
> > Sean Landis a écrit :
> > > When I selected http://wasatch:8182/jar I got a download dialog but:
> > > 1) the name of the file was "jar", not "org.restlet.jar",
> > > 2) The file that gets 'downloaded' is empty.

fyi: the solution we adopted for this problem (i.e. keeping a clean uri but
making sure the filename is correctly shown in the save dialog) is to make sure
a GET http://wasatch:8182/jar temporarily redirects to the "physical" URI
http://wasatch:8182/myfile.jar. This also allows you to change the physical uri
to something different without breaking existing client references.

thanks,

-- yuri

Reply via email to