diff options
Diffstat (limited to 'sx-request.el')
-rw-r--r-- | sx-request.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sx-request.el b/sx-request.el index aeb2931..c49a62d 100644 --- a/sx-request.el +++ b/sx-request.el @@ -130,6 +130,7 @@ the main content of the response is returned." (error "Something went wrong in `url-retrieve-synchronously'") (with-current-buffer response-buffer (let* ((data (progn + ;; @TODO use url-http-end-of-headers (goto-char (point-min)) (if (not (search-forward "\n\n" nil t)) (error "Headers missing; response corrupt") |