Skip to content

Commit

Permalink
RFC 4329
Browse files Browse the repository at this point in the history
  • Loading branch information
bored-engineer authored Jun 9, 2016
1 parent 84deb63 commit 2736a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/apiserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, *args, **kwargs):
if self.request.uri.startswith( "/api/" ):
self.set_header("Content-Type", "application/json")
else:
self.set_header("Content-Type", "application/x-javascript")
self.set_header("Content-Type", "application/javascript")

self.set_header("X-Frame-Options", "deny")
self.set_header("Content-Security-Policy", "default-src 'self'")
Expand Down

0 comments on commit 2736a28

Please sign in to comment.