hurl/integration/tests_ok/aws_sigv4.py

9 lines
208 B
Python
Raw Normal View History

from flask import request
from app import app
2023-08-13 14:24:50 +03:00
@app.route("/aws-sigv4", methods=["POST"])
def aws_sigv4():
2023-08-13 14:24:50 +03:00
auth = request.headers.get("Authorization")
return f"Received Authorization header: {auth}"