* lisp/url/url-http.el (url-http-create-request): Doc fix.

This commit is contained in:
Andreas Schwab 2018-06-29 17:33:26 +02:00
parent 84613dae5c
commit 08594a975a

View file

@ -285,8 +285,8 @@ The string is based on `url-privacy-level' and `url-user-agent'."
(if ua-string (format "User-Agent: %s\r\n" (string-trim ua-string)) "")))
(defun url-http-create-request ()
"Create an HTTP request for `url-http-target-url', using `url-http-referer'
as the Referer-header (subject to `url-privacy-level'."
"Create an HTTP request for `url-http-target-url'.
Use `url-http-referer' as the Referer-header (subject to `url-privacy-level')."
(let* ((extra-headers)
(request nil)
(no-cache (cdr-safe (assoc "Pragma" url-http-extra-headers)))