1.1 --- a/WebStack/Generic.py Sat Feb 07 23:56:17 2004 +0000
1.2 +++ b/WebStack/Generic.py Sun Feb 08 16:34:11 2004 +0000
1.3 @@ -194,6 +194,24 @@
1.4
1.5 raise NotImplementedError, "get_response_stream"
1.6
1.7 + def get_response_code(self):
1.8 +
1.9 + """
1.10 + Get the response code associated with the transaction. If no response
1.11 + code is defined, None is returned.
1.12 + """
1.13 +
1.14 + raise NotImplementedError, "get_response_code"
1.15 +
1.16 + def set_response_code(self, response_code):
1.17 +
1.18 + """
1.19 + Set the 'response_code' using a numeric constant defined in the HTTP
1.20 + specification.
1.21 + """
1.22 +
1.23 + raise NotImplementedError, "set_response_code"
1.24 +
1.25 def set_content_type(self, content_type):
1.26
1.27 """