SVN: r25572 - trunk/quixote

David Binger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Thu, 11 Nov 2004 11:57:24 -0500
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Author: dbinger
Date: 2004-11-11 10:12:00 -0500 (Thu, 11 Nov 2004)
New Revision: 25572

Modified:
   trunk/quixote/http_response.py
Log:
Add get_status_code()


Modified: trunk/quixote/http_response.py
===================================================================
--- trunk/quixote/http_response.py	2004-11-10 21:44:07 UTC (rev 25571)
+++ trunk/quixote/http_response.py	2004-11-11 15:12:00 UTC (rev 25572)
@@ -325,6 +325,9 @@
         self.set_content_type('text/plain')
         return "Your browser should have redirected you to %s" % location
 
+    def get_status_code(self):
+        return self.status_code
+    
     def get_content_length(self):
         if self.body is None:
             return None