Skip to content

Commit 020c4a4

Browse files
authored
API: Use proper JSON Content-Type
Fixes OpenLightingProject#130
1 parent db8e3c4 commit 020c4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/json_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ManufacturerList(webapp.RequestHandler):
3232
CACHE_KEY = memcache_keys.MANUFACTURER_CACHE_KEY
3333

3434
def get(self):
35-
self.response.headers['Content-Type'] = 'text/plain'
35+
self.response.headers['Content-Type'] = 'application/json'
3636
self.response.headers['Cache-Control'] = 'public; max-age=300;'
3737

3838
response = memcache.get(memcache_keys.MANUFACTURER_CACHE_KEY)

0 commit comments

Comments
 (0)