michal at cihar.com
Fri Aug 5 13:08:05 CEST 2011
Dne Fri, 5 Aug 2011 13:34:07 +0300
Tyron Madlener <tyronx at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Developers