SVN: r25767 - trunk/quixote
David Binger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Fri, 17 Dec 2004 19:10:44 -0500
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dbinger
Date: 2004-12-14 16:42:24 -0500 (Tue, 14 Dec 2004)
New Revision: 25767
Modified:
trunk/quixote/http_response.py
Log:
Add HTTPResponse.get_content_type().
Modified: trunk/quixote/http_response.py
===================================================================
--- trunk/quixote/http_response.py 2004-12-14 21:31:22 UTC (rev 25766)
+++ trunk/quixote/http_response.py 2004-12-14 21:42:24 UTC (rev 25767)
@@ -330,7 +330,10 @@
def get_reason_phrase(self):
return self.reason_phrase
-
+
+ def get_content_type(self):
+ return self.content_type
+
def get_content_length(self):
if self.body is None:
return None