bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Mon, 22 Feb 2016 14:03:00 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Shiyao Ma <address@hidden> writes:

> I installed from the git head.
>
> For the callback status, it's:
> (:error (error http 405) :redirect https://bpaste.net/show/9f7b83e91ebc)
>
> For the callback buffer, it's:
> HTTP/1.1 405 METHOD NOT ALLOWED
> Server: nginx

[...]

> So from the url-debug output, the logic is doing wrong. On Line#30, it's doing
> a *redirect* with post, resulting an HTTP 405.

So that web site wants the redirect to be done with GET instead of POST?
I don't know what the standard says should happen here...

Nicolas, could you look into this?  The issue is that when POST-ing to
bpaste.net, it 302 redirects...

> BTW, possible to do nothing other than firing up the callback when receiving
> the HTTP 302 on Line#32 ?

No, the callbacks are fired after landing on the final URL after all the
redirects.

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]