Skip to content

Commit

Permalink
fill docstring for newly defined function and variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
snmsts committed Jan 19, 2016
1 parent 6ddf0a7 commit 1bd64b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion quicklisp/http.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,9 @@ the indexes in the header accordingly."
(too-many-redirects-count condition)
(too-many-redirects-url condition)))))

(defvar *fetch-scheme-functions* '(("http" . http-fetch)))
(defvar *fetch-scheme-functions*
'(("http" . http-fetch))
"assoc list to decide which scheme-function are called by FETCH function.")

(defun fetch (url file &rest rest)
"Request URL and write the body of the response to FILE."
Expand All @@ -803,6 +805,7 @@ the indexes in the header accordingly."
(defun http-fetch (url file &key (follow-redirects t) quietly
(if-exists :rename-and-delete)
(maximum-redirects *maximum-redirects*))
"default scheme-function for http protocol."
(setf url (merge-urls url *default-url-defaults*))
(setf file (merge-pathnames file))
(let ((redirect-count 0)
Expand Down

0 comments on commit 1bd64b5

Please sign in to comment.