[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/request 8e6aaa5 05/11: Revert "add headers slot into reque
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/request 8e6aaa5 05/11: Revert "add headers slot into request-response structure" |
Date: |
Sat, 13 Feb 2021 19:57:10 -0500 (EST) |
branch: elpa/request
commit 8e6aaa540faca0096f0cfd19f5624a727cc3d60d
Author: dickmao <none>
Commit: dickmao <none>
Revert "add headers slot into request-response structure"
This reverts commit 2364e18b234d23c1092fa6e5dbf094a8371f05f2.
---
request.el | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/request.el b/request.el
index 37e4aac..3827e12 100644
--- a/request.el
+++ b/request.el
@@ -181,7 +181,7 @@ for older Emacs versions.")
(cl-defstruct request-response
"A structure holding all relevant information of a request."
status-code history data error-thrown symbol-status url
- done-p settings headers
+ done-p settings
;; internal variables
-buffer -raw-header -timer -backend)
@@ -535,14 +535,6 @@ and requests.request_ (Python).
(when (re-search-forward "^$" nil t)
(setf (request-response--raw-header response)
(buffer-substring (point-min) (point)))
- (setf (request-response-headers response)
- (let (headers)
- (with-temp-buffer
- (insert (request-response--raw-header response))
- (goto-char (point-min))
- (while (re-search-forward "^\\([^:\n]+\\): \\(.*\\)$" nil
'no-error)
- (push `(,(match-string 1) . ,(match-string 2)) headers))
- (nreverse headers))))
(request-log 'trace "request--cut-header: cutting\n%s"
(buffer-substring (point-min) (min (1+ (point))
(point-max))))
(delete-region (point-min) (min (1+ (point)) (point-max))))))))
- [nongnu] elpa/request updated (c5a1068 -> accd430), ELPA Syncer, 2021/02/13
- [nongnu] elpa/request f795d03 10/11: shell env variables are in a separate subspace, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request 2364e18 01/11: add headers slot into request-response structure, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request 576585d 03/11: reuse GITHUB_HEAD_REF, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request ec35961 04/11: In for a penny, in for a pound, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request c076219 09/11: okay, now cask24 is failing too, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request 572a900 08/11: I may need to eval calls, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request 0eae5a0 02/11: fix checkdoc/package-lint/byte-compiler issue, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request ef231e1 06/11: request-response-headers, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request 8e6aaa5 05/11: Revert "add headers slot into request-response structure",
ELPA Syncer <=
- [nongnu] elpa/request accd430 11/11: Merge pull request #201 from dickmao/dev, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request c92102f 07/11: On 20210213, emacs24 couldn't download packages from elpa, ELPA Syncer, 2021/02/13