Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions restclient.el
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ The buffer contains the raw HTTP response sent by the server."
(when (looking-at restclient-empty-line-regexp)
(forward-line))
(let* ((cmax (restclient-current-max))
(entity (restclient-parse-body (buffer-substring (min (point) cmax) cmax) vars))
(entity (restclient-parse-body (restclient-replace-all-in-string vars (buffer-substring (min (point) cmax) cmax)) vars))
(url (restclient-replace-all-in-string vars url)))
(apply func method url headers entity args))))))

Expand Down Expand Up @@ -549,7 +549,7 @@ Optional argument STAY-IN-WINDOW do not move focus to response buffer if t."
(end-of-line)
;; If the overlays at this point have 'invisible set, toggling
;; must make the region visible. Else it must hide the region

;; This part of code is from org-hide-block-toggle method of
;; Org mode
(let ((overlays (overlays-at (point))))
Expand Down