[prev in list] [next in list] [prev in thread] [next in thread]
List: mapserver-commits
Subject: [mapserver-commits] r12918 - trunk/mapserver/mapcache/src
From: svn () osgeo ! org
Date: 2011-12-24 11:53:09
Message-ID: 20111224115309.4592C3906A2 () trac ! osgeo ! org
[Download RAW message or body]
Author: tbonfort
Date: 2011-12-24 03:53:09 -0800 (Sat, 24 Dec 2011)
New Revision: 12918
Modified:
trunk/mapserver/mapcache/src/core.c
Log:
remove some headers that should not be sent back to the client
Modified: trunk/mapserver/mapcache/src/core.c
===================================================================
--- trunk/mapserver/mapcache/src/core.c 2011-12-23 17:52:13 UTC (rev 12917)
+++ trunk/mapserver/mapcache/src/core.c 2011-12-24 11:53:09 UTC (rev 12918)
@@ -464,6 +464,9 @@
/* the http request was successful, but the server returned an error */
ctx->clear_errors(ctx);
}
+ /*remove some headers that should not be sent back to the client*/
+ apr_table_unset(response->headers,"Transfer-Encoding");
+ apr_table_unset(response->headers,"Connection");
return response;
}
_______________________________________________
mapserver-commits mailing list
mapserver-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic