[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/with-url 1c59f8a 6/8: Get chunked decoding right
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] scratch/with-url 1c59f8a 6/8: Get chunked decoding right |
Date: |
Sun, 22 Jan 2017 22:25:23 +0000 (UTC) |
branch: scratch/with-url
commit 1c59f8aac7c764484a858abfbf2ecd2a20f2f048
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Get chunked decoding right
---
lisp/url/with-url.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/url/with-url.el b/lisp/url/with-url.el
index b25493b..7e85d99 100644
--- a/lisp/url/with-url.el
+++ b/lisp/url/with-url.el
@@ -625,8 +625,10 @@ If given, return the value in BUFFER instead."
(delete-region (match-beginning 0) (point))
(if (zerop length)
(delete-region (match-beginning 0) (point-max))
- ;; Skip ahead, and then past the CRLF.
- (goto-char (+ (point) length 2))))))
+ ;; Skip ahead.
+ (goto-char (+ (point) length))
+ ;; Delete the CRLF.
+ (delete-char 2)))))
(defun with-url--redirect (process location)
(let ((req (plist-get (process-plist process) :request)))
- [Emacs-diffs] scratch/with-url updated (3322f8f -> 03b56ca), Lars Ingebrigtsen, 2017/01/22
- [Emacs-diffs] scratch/with-url f402e35 3/8: Heed the Cache-Control header, Lars Ingebrigtsen, 2017/01/22
- [Emacs-diffs] scratch/with-url 3733456 2/8: Adapt to the new cache, Lars Ingebrigtsen, 2017/01/22
- [Emacs-diffs] scratch/with-url 1c59f8a 6/8: Get chunked decoding right,
Lars Ingebrigtsen <=
- [Emacs-diffs] scratch/with-url 4fb09fd 4/8: Build fix, Lars Ingebrigtsen, 2017/01/22
- [Emacs-diffs] scratch/with-url bc505fd 1/8: Fix up some :wait issues, Lars Ingebrigtsen, 2017/01/22
- [Emacs-diffs] scratch/with-url b6d6172 7/8: Don't move point around when inserting images, Lars Ingebrigtsen, 2017/01/22
- [Emacs-diffs] scratch/with-url 2415aae 5/8: Make reloading work again., Lars Ingebrigtsen, 2017/01/22
- [Emacs-diffs] scratch/with-url 03b56ca 8/8: Respect the buffer parameter, Lars Ingebrigtsen, 2017/01/22