Skip to content

Commit

Permalink
Headers: Renamed custom experiment header for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Biscgit committed Jan 9, 2025
1 parent 0be7d21 commit 87e5d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cernopendata/modules/records/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def record_metadata_view(pid, record, template=None):
)

# include experiment in the header for direct annotation in the logs
response.headers["X-Custom-Record-Experiment"] = _extract_experiment_name(record)
response.headers["X-Record-Experiment"] = _extract_experiment_name(record)
return response


Expand Down

0 comments on commit 87e5d6f

Please sign in to comment.