You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by li...@apache.org on 2008/04/02 14:47:15 UTC
svn commit: r643887 -
/incubator/shindig/trunk/php/gadgets/src/http/ProxyHandler.php
Author: lindner
Date: Wed Apr 2 05:47:14 2008
New Revision: 643887
URL: http://svn.apache.org/viewvc?rev=643887&view=rev
Log:
Fix from SHINDIG-153 - malformed headers - patch from Tamlyn Rhodes
Modified:
incubator/shindig/trunk/php/gadgets/src/http/ProxyHandler.php
Modified: incubator/shindig/trunk/php/gadgets/src/http/ProxyHandler.php
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/gadgets/src/http/ProxyHandler.php?rev=643887&r1=643886&r2=643887&view=diff
==============================================================================
--- incubator/shindig/trunk/php/gadgets/src/http/ProxyHandler.php (original)
+++ incubator/shindig/trunk/php/gadgets/src/http/ProxyHandler.php Wed Apr 2 05:47:14 2008
@@ -62,7 +62,7 @@
$json = json_encode($json);
$output = UNPARSEABLE_CRUFT . $json;
$this->setCachingHeaders();
- header("application/json; charset=utf-8", true);
+ header("Content-Type: application/json; charset=utf-8", true);
echo $output;
} else {
@ob_end_clean();
@@ -254,4 +254,4 @@
}
return $headers;
}
-}
\ No newline at end of file
+}