• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Is it possible to modify Content-Disposition in http response header?

New Here ,
Mar 02, 2012 Mar 02, 2012

Copy link to clipboard

Copied

Hi,

as we are operating several acs4 instances, we are using a http header redirect to forward a customer to the correct acs4 fulfillment server when he tries to download the fulfillment token. On some mobile platforms (especially Android >= v. 3) we are experiencing problems when using the redirect. Instead of establishing the download of the fulfillment token the devices shows the xml content of the file in the webbrowser.

We have defined several test cases in which we modified the http response that sends the fulfillment token to the client manually.

When adding "Content-Disposition: attachment" to the http header the experienced problems with Android devices can be resolved as the browser is forced to download the body of the request as file.

Is it possible to add the "Content-Disposition: attachment" argument to the header of each http response the fulfillment service sends to a client?

(The Content-Type is already set to application/vnd.adobe.adept+xml correctly)

Thanks,

Philipp

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 03, 2012 Mar 03, 2012

Copy link to clipboard

Copied

LATEST

The easiest thing to do will probably be to wrap the call rather than forward and then you can set the headers yourself.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines