Skip to content

Commit

Permalink
Fixed log info
Browse files Browse the repository at this point in the history
  • Loading branch information
g-nardiello committed Mar 14, 2024
1 parent 8bcd9ce commit 26b373c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ def upload_file() -> UploadFileResponse:
tid = date.strftime('[%s] ')
app.logger.info(tid + "Requested file upload")

app.logger.debug(tid + "The request contains the following headers: " + str(request.headers.keys()))
app.logger.debug(tid + "The request contains the following args: " + str(request.args.keys()))
app.logger.debug(tid + "The request contains the following files: " + str(request.files.keys())
app.logger.debug(tid + "The request contains the following headers: " + str(list(request.headers.keys())))
app.logger.debug(tid + "The request contains the following args: " + str(list(request.args.keys())))
app.logger.debug(tid + "The request contains the following files: " + str(list(request.files.keys())))

# Authenticate using the provided token
provided_secret = request.headers.get('Authorization')
Expand Down

0 comments on commit 26b373c

Please sign in to comment.