diff options
| author | Andreas Schwab | 2018-06-29 17:33:26 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2018-06-29 17:33:43 +0200 |
| commit | 08594a975a3d95b1c1eae38af608e487e2edfafc (patch) | |
| tree | 5c382e07255b582720734f3c54795257058cccba | |
| parent | 84613dae5c34ea742dd9a3e56f5acb55f604b483 (diff) | |
| download | emacs-08594a975a3d95b1c1eae38af608e487e2edfafc.tar.gz emacs-08594a975a3d95b1c1eae38af608e487e2edfafc.zip | |
* lisp/url/url-http.el (url-http-create-request): Doc fix.
| -rw-r--r-- | lisp/url/url-http.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 817c5ce3b3d..6b5749e1bce 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -285,8 +285,8 @@ The string is based on `url-privacy-level' and `url-user-agent'." | |||
| 285 | (if ua-string (format "User-Agent: %s\r\n" (string-trim ua-string)) ""))) | 285 | (if ua-string (format "User-Agent: %s\r\n" (string-trim ua-string)) ""))) |
| 286 | 286 | ||
| 287 | (defun url-http-create-request () | 287 | (defun url-http-create-request () |
| 288 | "Create an HTTP request for `url-http-target-url', using `url-http-referer' | 288 | "Create an HTTP request for `url-http-target-url'. |
| 289 | as the Referer-header (subject to `url-privacy-level'." | 289 | Use `url-http-referer' as the Referer-header (subject to `url-privacy-level')." |
| 290 | (let* ((extra-headers) | 290 | (let* ((extra-headers) |
| 291 | (request nil) | 291 | (request nil) |
| 292 | (no-cache (cdr-safe (assoc "Pragma" url-http-extra-headers))) | 292 | (no-cache (cdr-safe (assoc "Pragma" url-http-extra-headers))) |