diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2014-04-04 18:09:03 +0200 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2014-04-04 18:09:03 +0200 |
commit | 2d05ce07fe038c669a104d70529d4f57eabb1f09 (patch) | |
tree | 496746685dbf85e8acb87219f628b3005d995e65 /app/handlers/base.py | |
parent | 5ae2598cc8ccdef87393e7207f053f24a350d432 (diff) |
Add doc string.
Diffstat (limited to 'app/handlers/base.py')
-rw-r--r-- | app/handlers/base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/handlers/base.py b/app/handlers/base.py index fd6c70f..7deb48f 100644 --- a/app/handlers/base.py +++ b/app/handlers/base.py @@ -155,6 +155,7 @@ class BaseHandler(RequestHandler): self.finish() def _check_content_type(self): + """Handy method to check the content type of the request body.""" if self.request.headers['Content-Type'] != self.accepted_content_type: self.send_error(status_code=415) |