Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Jun 30, 2024
1 parent 88f80c9 commit 966e087
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions verb.el
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,9 @@ This variable is only set on buffers showing HTTP response bodies.")
(defvar-local verb-kill-this-buffer nil
"If non-nil, kill this buffer after readings its contents.
When Verb evaluates Lisp code tags, a tag may produce a buffer as a
result. If the buffer-local value of this variable is non-nil for that
buffer, Verb will kill it after it has finished reading its contents.")
result. If the buffer-local value of this variable is non-nil for
that buffer, Verb will kill it after it has finished reading its
contents.")

(defvar-local verb--multipart-boundary nil
"Current multipart form boundary available for use in specs.")
Expand Down Expand Up @@ -2322,7 +2323,11 @@ Do this using the rules described in `verb-request-spec-override'."
attributes fullness))))

(cl-defmethod verb--request-spec-url-origin ((rs verb-request-spec))
"TODO."
"Return the origin of RS's URL.
The URL origin consists of the scheme, user, password host and port
properties.
Return nil instead if RS has no URL, or if all of the properties
making up for the origin are themselves nil."
(when-let ((rs)
(url (oref rs url)))
(let ((type (url-type url))
Expand Down

0 comments on commit 966e087

Please sign in to comment.