Subject: bug#22744: 24.5; url-retrieve callback is not invoked when http response content is empty

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 20 Feb 2016 18:41:08 +1100

Shiyao Ma <[email-masked]> 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