Skip to content

Commit

Permalink
IssueID #17: added loggin for debuggin uuid from saml
Browse files Browse the repository at this point in the history
  • Loading branch information
panterz committed Sep 4, 2014
1 parent 73ba5ea commit dffc133
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wsgi/pcapi_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ def default_static():

@hook('after_request')
def enable_cors():
log.debug(request.headers.get('persistent-id'))
#here's the id we need for uploading data
log.debug(request.headers.get('employeeNumber'))
response.headers['Access-Control-Allow-Origin'] = '*'
response.headers['Access-Control-Allow-Methods'] = 'GET, POST, PUT, OPTIONS, DELETE'

Expand Down

0 comments on commit dffc133

Please sign in to comment.