| Index: chrome/common/extensions/docs/server2/servlet.py
|
| diff --git a/chrome/common/extensions/docs/server2/servlet.py b/chrome/common/extensions/docs/server2/servlet.py
|
| index 59ebb5b59152f9390c68bc9d379a1866137cd805..f7c14e7b84baa0d92d0da29f4f5f0cd68c138b91 100644
|
| --- a/chrome/common/extensions/docs/server2/servlet.py
|
| +++ b/chrome/common/extensions/docs/server2/servlet.py
|
| @@ -105,6 +105,9 @@ class Response(object):
|
| return (None, None)
|
| return (self.headers.get('Location'), self.status == 301)
|
|
|
| + def IsNotFound(self):
|
| + return self.status == 404
|
| +
|
| def __eq__(self, other):
|
| return (isinstance(other, self.__class__) and
|
| str(other.content) == str(self.content) and
|
|
|