Skip to content

Commit

Permalink
Fix documentation for redirect endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBrandUWV authored and lucagiove committed May 6, 2024
1 parent 7438834 commit f2b4270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atests/http_server/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ def redirect_to():
args_dict = request.args.items()
args = CaseInsensitiveDict(args_dict)

# We need to build the response manually and convert to UTF-8 to prevent
# werkzeug from "fixing" the URL. This endpoint should set the Location
# We need to build the response manually.
# This endpoint should set the Location
# header to the exact string supplied.
response = app.make_response("")
response.status_code = 302
Expand Down

0 comments on commit f2b4270

Please sign in to comment.