Permalink
Browse files

changed content-type of /pubkey to be text/plain

Signed-off-by: Jim Klo <jim.klo@sri.com>
  • Loading branch information...
jimklo committed Jun 19, 2012
1 parent 0e19259 commit dab4eaa3d19223a355d6732972ca3bb1a93e6c00
Showing with 2 additions and 0 deletions.
  1. +2 −0 LR/lr/controllers/pubkey.py
@@ -17,10 +17,12 @@ class PubkeyController(BaseController):
def index(self, format='text'):
"""GET /pubkey: All items in the collection"""
# url('pubkey')
+ response.headers["Content-Type": "text/plain"]
return signing.get_node_public_key()
def create(self):
"""POST /pubkey: Create a new item"""
+ response.headers["Content-Type": "text/plain"]
return signing.get_node_public_key()
# def new(self, format='html'):

0 comments on commit dab4eaa

Please sign in to comment.