summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXueFeng <77104643+Lns-XueFeng@users.noreply.github.com>2023-05-01 00:19:38 +0800
committerGitHub <noreply@github.com>2023-04-30 09:19:38 -0700
commitc0ab71c4a371697cca2d35f2f7511785cdd16c1f (patch)
tree3716643bc3b38b6cfdc7bd38223e96836cbe207d
parent6c11c11ca94ab57e918971435ceda875dc5cae57 (diff)
downloadwerkzeug-c0ab71c4a371697cca2d35f2f7511785cdd16c1f.tar.gz
fix example in docs (#2677)
-rw-r--r--docs/test.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/test.rst b/docs/test.rst
index 704eb5f5..d31ac593 100644
--- a/docs/test.rst
+++ b/docs/test.rst
@@ -18,8 +18,8 @@ requests.
>>> response = c.get("/")
>>> response.status_code
200
->>> resp.headers
-Headers([('Content-Type', 'text/html; charset=utf-8'), ('Content-Length', '6658')])
+>>> response.headers
+Headers([('Content-Type', 'text/html; charset=utf-8'), ('Content-Length', '5211')])
>>> response.get_data(as_text=True)
'<!doctype html>...'