Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ae,v 1.1 2003/12/03 09:44:10 darcy Exp $
--- lib/python/mod_python/apache.py.orig 2002-04-19 14:20:40.000000000 -0400
+++ lib/python/mod_python/apache.py
@@ -552,6 +552,9 @@
elif string.lower(h) == "content-type":
self.req.content_type = v
self.req.headers_out[h] = v
+ elif h.lower() == "location":
+ self.req.status = HTTP_MOVED_TEMPORARILY
+ self.req.headers_out["location"] = v
else:
self.req.headers_out.add(h, v)
self.req.send_http_header()