| Index: chrome/common/extensions/docs/server2/servlet.py
|
| ===================================================================
|
| --- chrome/common/extensions/docs/server2/servlet.py (revision 198562)
|
| +++ chrome/common/extensions/docs/server2/servlet.py (working copy)
|
| @@ -90,6 +90,9 @@
|
| def SetStatus(self, status):
|
| self.status = status
|
|
|
| + def IsRedirect(self):
|
| + return 'Location' in self.headers
|
| +
|
| def __repr__(self):
|
| return '{content: %s bytes, status: %s, headers: %s entries}' % (
|
| len(self.content), self.status, len(self.headers.keys()))
|
|
|