We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While testing file submission locally I found that a DEBUG message appears and auth fails:
DEBUG: 'file' object has no attribute 'get value'
The relevant bit of code is here:
--- a/src/victims_web/handlers/security.py +++ b/src/victims_web/handlers/security.py @@ -146,7 +146,7 @@ def validate_signature(): if len(request.files) > 0: for f in request.files.values(): md5sums.append(md5(f.stream.getvalue()).hexdigest()) expected = generate_signature( apikey, request.method, path,
--- a/src/victims_web/handlers/security.py +++ b/src/victims_web/handlers/security.py @@ -146,7 +146,7 @@ def validate_signature():
if len(request.files) > 0: for f in request.files.values():
md5sums.append(md5(f.stream.getvalue()).hexdigest()) expected = generate_signature( apikey, request.method, path,
The text was updated successfully, but these errors were encountered:
Submitting the file with basic auth works as expected.
Sorry, something went wrong.
No branches or pull requests
While testing file submission locally I found that a DEBUG message appears and auth fails:
DEBUG: 'file' object has no attribute 'get value'
The relevant bit of code is here:
The text was updated successfully, but these errors were encountered: