Skip to content

Commit

Permalink
Merge pull request #79 from golnazads/master
Browse files Browse the repository at this point in the history
added a debug statement to see what is going on on the server
  • Loading branch information
golnazads committed Jul 26, 2021
2 parents 1c7683a + ae5a956 commit b1a1376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resolverway/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def redirect(self, link):
# also if there are any spaces encode those as well
link = link.replace(self.bibcode, urllib.parse.quote(self.bibcode)).replace(' ', '%20')
response = redirect(link, 302)
current_app.logger.error('DEBUG --- take out --- redirect response', response)
current_app.logger.error('DEBUG --- take out --- redirect response self.user_id', self.user_id)
response.autocorrect_location_header = False
response.headers['user_id'] = self.user_id
return response, 302
Expand Down

0 comments on commit b1a1376

Please sign in to comment.