Author: chabotc
Date: Wed Dec 3 01:40:45 2008
New Revision: 722822
URL: http://svn.apache.org/viewvc?rev=722822&view=rev
Log:
Removed the content disposition header that was breaking some versions of flash
Modified:
incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php
Modified: incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php?rev=722822&r1=722821&r2=722822&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php Wed Dec 3
01:40:45 2008
@@ -273,8 +273,6 @@
$status = (int)$result->getHttpCode();
if ($status == 200) {
$headers = explode("\n", $result->getResponseHeaders());
- // Send the file as attachment
- $headers[] = 'Content-Disposition: attachment; filename=p.txt';
foreach ($headers as $header) {
if (strpos($header, ':')) {
$key = trim(substr($header, 0, strpos($header, ':')));