Skip to content

Commit

Permalink
fixing docs for decode_x_header
Browse files Browse the repository at this point in the history
  • Loading branch information
jkachel committed Mar 6, 2024
1 parent 2d2e6bb commit 68e87a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unified_ecommerce/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ def decode_x_header(request, header):
Args:
request (HttpRequest): the HTTP request
header (str): the name of the header to decode
Returns:
dict of decoded values, or None if the header isn't found
"""
x_userinfo = request.META.get(header, False)

Expand Down

0 comments on commit 68e87a2

Please sign in to comment.