We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36061bf commit a245f7eCopy full SHA for a245f7e
1 file changed
docs/source/guide/basic.md
@@ -136,8 +136,8 @@ headers = HeaderMap()
136
headers.insert("Content-Type", "application/json")
137
138
# A header can hold multiple values
139
-headers.insert("Accept", "application/json")
140
-headers.insert("Accept", "text/html")
+headers.append("Accept", "application/json")
+headers.append("Accept", "text/html")
141
142
# Retrieve a single value
143
print(headers.get("Content-Type"))
0 commit comments