GNU bug report logs - #22744
24.5; url-retrieve callback is not invoked when http response content is empty

Previous Next

Package: emacs;

Reported by: Shiyao Ma <i <at> introo.me>

Date: Sat, 20 Feb 2016 06:58:03 UTC

Severity: normal

Found in version 24.5

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Shiyao Ma <i <at> introo.me>
Cc: 22744 <at> debbugs.gnu.org, wmperry <at> gnu.org
Subject: bug#22744: 24.5; url-retrieve callback is not invoked when http response content is empty
Date: Sat, 20 Feb 2016 18:41:08 +1100
Shiyao Ma <i <at> introo.me> writes:

> A working snippet is here:
>
> https://bpaste.net/show/d2bd28c10f46
>
> The callback paste-callback-bpaste is not invoked.
>
> Turning on `url-debug', we can observe that the post response is a mere
> http header with status 302, and no *data content*.

A 302 is a redirection, and URL follows redirections, and do not call
the callback before we get to the "real" page (or it fails).

Is there nothing else returned from the server?  Like a Location header?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.