1.1 --- a/WebStack/Webware.py Fri Jun 20 22:21:30 2008 +0200
1.2 +++ b/WebStack/Webware.py Sun Feb 15 16:05:35 2004 +0000
1.3 @@ -44,14 +44,25 @@
1.4 def get_headers(self):
1.5
1.6 """
1.7 - A framework-specific method which returns the request headers.
1.8 - NOTE: Experimental, since framework support varies somewhat.
1.9 + A framework-specific method which returns all request headers.
1.10 """
1.11
1.12 # NOTE: Webware doesn't really provide access to headers in the request.
1.13
1.14 return {}
1.15
1.16 + def get_header_values(self, key):
1.17 +
1.18 + """
1.19 + A framework-specific method which returns a list of all request header
1.20 + values associated with the given 'key'. Note that according to RFC 2616,
1.21 + 'key' is treated as a case-insensitive string.
1.22 + """
1.23 +
1.24 + # NOTE: Webware doesn't really provide access to headers in the request.
1.25 +
1.26 + return []
1.27 +
1.28 def get_content_type(self):
1.29
1.30 """