Skip to content

Commit

Permalink
add more debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Feb 12, 2024
1 parent 38b8418 commit 14b2d19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projectroles/views_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@ def get(self, request, *args, **kwargs):
except RemoteSite.DoesNotExist:
return Response('Remote site not found, unauthorized', status=401)
# Pass request version to get_source_data()
print('DEBUG: core_header={}'.format(core_header))
accept_header = request.headers.get('Accept')
if accept_header and 'version=' in accept_header:
print('DEBUG: accept_header set')
Expand Down

0 comments on commit 14b2d19

Please sign in to comment.