Skip to content

Commit 9ad22d5

Browse files
committed
Fix documentation for redirect endpoint
1 parent 7b1bcc2 commit 9ad22d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

atests/http_server/core.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ def redirect_to():
179179
args_dict = request.args.items()
180180
args = CaseInsensitiveDict(args_dict)
181181

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

0 commit comments

Comments
 (0)