[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22744: 24.5; url-retrieve callback is not invoked when http response
From: |
Lars Ingebrigtsen |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Shiyao Ma <i@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