Skip to main content

i4connected Knowledgebase 5.6

Content-Disposition header

Abstract

Check out this article and read more details about the Content-Disposition header and learn how to configure it for your i4connected installation.

In a regular HTTP response, the Content-Disposition response header indicates if the content is expected to be displayed inline in the browser or as an attachment, that can be downloaded and saved locally.

Warning

At the level of i4connected, it is recommended that the Content-Disposition header is displayed as an attachment.

The Content-Disposition header is configured as a set of rewrite rules, that can be managed in the Web.config file, under the i4connected API folder.

rewrite_rules.jpg

The Content-Disposition header rewrite rules

Important

To enable these rules the IIS URL Rewrite Plugin is required. For more details, please visit the i4connected Prerequisites article.

When upgrading to a higher i4connected version, the rewrite rules should NOT be overwritten, but merged.