summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ref/web.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ref/web.texi b/doc/ref/web.texi
index 2311b8225..b078929e4 100644
--- a/doc/ref/web.texi
+++ b/doc/ref/web.texi
@@ -747,9 +747,9 @@ a resource.
@deftypevr {HTTP Header} List content-type
The MIME type of a resource, as a symbol, along with any parameters.
@example
-(parse-header 'content-length "text/plain")
+(parse-header 'content-type "text/plain")
@result{} (text/plain)
-(parse-header 'content-length "text/plain;charset=utf-8")
+(parse-header 'content-type "text/plain;charset=utf-8")
@result{} (text/plain (charset . "utf-8"))
@end example
Note that the @code{charset} parameter is something is a misnomer, and