mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-12 15:36:01 +03:00
14 lines
312 B
Python
14 lines
312 B
Python
from tests import app
|
|
from flask import make_response
|
|
|
|
@app.route("/assert-header")
|
|
def assert_header():
|
|
resp = make_response()
|
|
resp.headers['Header1'] = 'value1'
|
|
resp.set_cookie('cookie1', 'value1')
|
|
resp.set_cookie('cookie2', 'value2')
|
|
resp.set_cookie('cookie3', 'value3')
|
|
return resp
|
|
|
|
|