mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-30 10:56:09 +03:00
9 lines
245 B
Python
9 lines
245 B
Python
from tests import app
|
|
from flask import request
|
|
|
|
|
|
@app.route("/basic-authentication-per-request")
|
|
def basic_authentication_per_request():
|
|
assert request.headers["Authorization"] == "Basic Ym9iOnNlY3JldA=="
|
|
return "You are authenticated"
|