Skip navigation
Currently Being Moderated

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

Mar 2, 2012 4:58 AM

Tags: #android #header #http #acs4 #android_3_0

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

 
Replies
  • Currently Being Moderated
    Mar 3, 2012 7:58 AM   in reply to philipp.d

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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points