HTTP New location after download starts

Posted by Flavius on Stack Overflow See other posts from Stack Overflow or by Flavius
Published on 2010-06-06T16:36:29Z Indexed on 2010/06/06 16:42 UTC
Read the original article Hit count: 371

Filed under:
|
|

Hi

I'm using X-Accel-Redirect (so implicitly nginx), Content-Type and Content-Disposition to download a file, everything works great.

What I need to accomplish is redirecting to a new location after the download starts.

I've tested with both Refresh and Location, it doesn't work. Is it possible with HTTP 1.1/nginx?

© Stack Overflow or respective owner

Related posts about php

Related posts about http