rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Adam on April 29, 2010, 05:27:35 AM

Title: How to remove Content-Disposition
Post by: Adam on April 29, 2010, 05:27:35 AM
I am trying to remove the content disposition on xml files.
I have added a mime type and set it in "open files directly".
Is there anything else I need to do?
Using HFS 2.2f 155
Title: Re: How to remove Content-Disposition
Post by: rejetto on April 29, 2010, 11:58:23 AM
what do you want to get exactly?
is the "attachment" flag you want to remove?
you cannot remove the whole header with version 2.2
Title: Re: How to remove Content-Disposition
Post by: Adam on April 29, 2010, 01:34:47 PM
I dont want the "Content-Disposition: filename=" in the headers.
Is that what you mean by "attachment"?
Title: Re: How to remove Content-Disposition
Post by: rejetto on April 29, 2010, 04:46:29 PM
you can't.
why you need that?

"attachment" is an extra text added for the files that are meant to be downloaded instead of displayed by the browser itself.

content-disposition: attachment; filename=xxxxxx
Title: Re: How to remove Content-Disposition
Post by: Adam on April 30, 2010, 12:08:26 AM
I want the xml to be displayed in the browser and not downloaded. Its xml with a xlst builtin.
Title: Re: How to remove Content-Disposition
Post by: rejetto on April 30, 2010, 08:23:40 AM
the actions you took should be enough.
if it's not working for you, i'll try to reproduce the problem on my computer to search for a solution.
if your file is not sensitive data, send it to support@rejetto.com