proxy/proxy/rhnShared.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c9d989a6ff3439d66da7b348f0809716f740bdeb
Author: Justin Sherrill <jsherril(a)redhat.com>
Date: Tue Aug 31 19:03:51 2010 -0400
629102 - Adding range to the allowed header list for proxy
diff --git a/proxy/proxy/rhnShared.py b/proxy/proxy/rhnShared.py
index a65837e..05a10da 100644
--- a/proxy/proxy/rhnShared.py
+++ b/proxy/proxy/rhnShared.py
@@ -329,7 +329,7 @@ class SharedHandler:
# mod_wsgi modifies incoming headers so we have to transform them back
k = k.replace('_','-')
if not (string.lower(k)[:2] == 'x-' or
- string.lower(k) in ['content-length', 'user-agent',
'content-type']):
+ string.lower(k) in ['range', 'content-length',
'user-agent', 'content-type']):
# filter out header we don't want to send
continue
if type(vals) not in (ListType, TupleType):
Show replies by date