Function: verb--request-spec-send-eww
verb--request-spec-send-eww is a byte-compiled function defined in
verb.el.
Signature
(verb--request-spec-send-eww &rest ARGS)
Implementations
(verb--request-spec-send-eww (RS verb-request-spec)) in `verb.el'.
Send request spec RS using EWW (Emacs Web Wowser). Return the buffer created by EWW.
Note: this function is unrelated to `verb--request-spec-send'.
Source Code
;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb.el
(cl-defmethod verb--request-spec-send-eww ((rs verb-request-spec))
"Send request spec RS using EWW (Emacs Web Wowser).
Return the buffer created by EWW.
Note: this function is unrelated to `verb--request-spec-send'."
;; Require eww to load the `eww-accept-content-types' variable.
(require 'eww)
(let ((eww-accept-content-types (verb--get-accept-header (oref rs headers)))
(url-request-extra-headers (verb--prepare-http-headers
(oref rs headers))))
(verb--setup-request-environment rs)
(unwind-protect
(prog1
(eww (verb-request-spec-url-to-string rs))
;; "Use" the variable to avoid compiler warning.
;; This variable is not available in some Emacs versions.
eww-accept-content-types)
(verb--teardown-request-environment rs))))