ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kak skachuvat' fail 'File name.pdf' a ne 'File%20name.pdf'



Solved!

add_header Content-Type "application/octet-stream";
set_by_lua $filename "return ngx.decode_base64(ngx.var['arg_f'])";
add_header Content-disposition "attachment; filename=\"$filename\"";

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,243816,243823#msg-243823

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.