Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Use Govuk-Request-Id for requests
Browse files Browse the repository at this point in the history
Send the Govuk-Request-Id header for requests to stagecraft so we can
trace the entire path of a request
  • Loading branch information
timmow committed Aug 7, 2015
1 parent a0153d7 commit 49721db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backdrop/core/flaskutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ def to_python(self, value):


def generate_request_id():
return request.headers.get('Request-Id', '')
return request.headers.get('Govuk-Request-Id', '')

0 comments on commit 49721db

Please sign in to comment.