rejetto forum

How to remove Content-Disposition

Guest · 6 · 3942

0 Members and 1 Guest are viewing this topic.

Adam

  • Guest
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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13517
    • View Profile
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


Adam

  • Guest
I dont want the "Content-Disposition: filename=" in the headers.
Is that what you mean by "attachment"?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13517
    • View Profile
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
« Last Edit: April 29, 2010, 04:50:04 PM by rejetto »


Adam

  • Guest
I want the xml to be displayed in the browser and not downloaded. Its xml with a xlst builtin.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13517
    • View Profile
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