diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/db.py | 8 | ||||
| -rwxr-xr-x | src/wsgi.py | 2 | 
2 files changed, 4 insertions, 6 deletions
| @@ -1,7 +1,7 @@ -# A database storing dictionaries, keyed on a timestamp. -# value = A dict which will be stored as a JSON object encoded in -# UTF-8. Note that dict keys of type integer or float will become -# strings while values will keep their type. +# A database storing dictionaries, keyed on a timestamp.  value = A +# dict which will be stored as a JSON object encoded in UTF-8. Note +# that dict keys of type integer or float will become strings while +# values will keep their type.  # Note that there's a (slim) chance that you'd stomp on the previous  # value if you're too quick with generating the timestamps, ie diff --git a/src/wsgi.py b/src/wsgi.py index b547ffa..8ab178a 100755 --- a/src/wsgi.py +++ b/src/wsgi.py @@ -55,8 +55,6 @@ class EPGet(CollectorResource):          limit = 25          skip = 0 -        resp.status = falcon.HTTP_200 -        resp.content_type = falcon.MEDIA_JSON          orgs = self.user_auth(req.auth, self._users.read_perms)          if not orgs: | 
