Skip to content

Commit

Permalink
common.as2_request_type: log Accept if it's not AS2
Browse files Browse the repository at this point in the history
for #1493
  • Loading branch information
snarfed committed Nov 16, 2024
1 parent b4f3701 commit bc4d139
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,3 +520,4 @@ def as2_request_type():
return as2.CONTENT_TYPE
elif accept_type in (as2.CONTENT_TYPE_LD, as2.CONTENT_TYPE_LD_PROFILE):
return as2.CONTENT_TYPE_LD_PROFILE
logger.info(f'Conneg resolved {accept_type} for Accept: {accept}')

0 comments on commit bc4d139

Please sign in to comment.