mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-30 14:38:28 +03:00
11 lines
235 B
Python
11 lines
235 B
Python
from app import app
|
|
from flask import request
|
|
|
|
|
|
@app.route("/expect", methods=["POST"])
|
|
def expect():
|
|
assert request.headers["Expect"] == "100-continue"
|
|
s = request.data.decode("utf-8")
|
|
assert s == """data"""
|
|
return ""
|