Search squid archive

Re: mp3 to php?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> tor 2007-02-15 klockan 11:58 +0100 skrev Kinkie:
> 
> > That's not a squid issue; it's related to the way the file is delivered.
> > The HTML page redirects to a PHP page which dynamically sends the MP3
> > file. It's then up to the browser to guesstimate the correct file name;
> > in this case it does it wrong (either because of a web application
> > misdesign or by browser imcompatility).

On 15.02.07 14:20, Henrik Nordstrom wrote:
> Could also be http anonymization if enabled on the proxy (or any proxy
> in the request path). There is a HTTP header telling clients how the
> content should be processed (inline or downloaded) and what's suitable
> to use as filename when saving the content locally..

and the header's name is Content-Disposition: (RFC2183). If you drop that
one, result is that browser doesn't know what name to store file under.

However, it's often a problem of web developera who don't know this and
don't (properly) set up this header...

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name. 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux