mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-18 16:11:34 +03:00
11 lines
205 B
Python
11 lines
205 B
Python
from tests import app
|
|
from flask import request
|
|
|
|
@app.route('/user-in-url')
|
|
def user_in_url():
|
|
assert request.headers['Authorization'] == 'Basic Ym9iOnNlY3JldA=='
|
|
return 'You are authenticated'
|
|
|
|
|
|
|