
5 Aug
2011
5 Aug
'11
1:08 p.m.
Hi Dne Fri, 5 Aug 2011 13:34:07 +0300 Tyron Madlener <tyronx@gmail.com> napsal(a):
Commit d368a81ccaf2c1013bd49cbf51ec23be346aeffb and 9f425de0e727b4219e50111b25c362164d420284 does this now.
I had to use text/plain though because some browsers like FF doesn't understand application/json (and offers the file to be downloaded).
You need to change only Content-Type and not Content-Disposition as PMA_download_header does. Then application/json should work just fine in all browsers. -- Michal Čihař | http://cihar.com | http://blog.cihar.com