[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debbugs.el confused by HTTPS redirect
From: |
Glenn Morris |
Subject: |
Re: debbugs.el confused by HTTPS redirect |
Date: |
Sun, 30 Oct 2016 20:12:42 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Ludovic Courtès wrote:
> Starting from a few days ago M-x debbugs-gnu hangs. On closer
> inspection, here's what it gets:
>
> read(15, "HTTP/1.1 302 Found\r\nDate: Sun, 30 Oct 2016 20:52:46
> GMT\r\nServer: Apache\r\nLocation:
> https://debbugs.gnu.org/cgi/soap.cgi\r\nContent-Length: 220\r\nKeep-Alive:
> timeout=5, max=100\r\nConnection: Keep-Alive\r\nContent-Type: text/html;
> charset=iso-8859-1\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
> 2.0//EN\">\n<html><head>\n<title>302
> Found</title>\n</head><body>\n<h1>Found</h1>\n<p>The document has moved <a
> href=\"https://debbugs.gnu.org/cgi/soap.cgi\">here</a>.</p>\n</body></html>\n",
> 4096) = 465
>
> However, the SOAP client apparently doesn't honor the 'Location' HTTP
> header and sits there forever.
>
> I tried changing the value of 'debbugs-servers' to point to
> https://debbugs.gnu.org, to no avail (I guess I'm missing something.)
I turned on http -> https redirection a few days ago, after sort of
persuading myself it was a Good Thing. It's easy to turn it off again.
But obviously it would be better if debbugs-gnu could work with https.
Indeed the debbugs-servers option does not seem to be used for much.
Changing the file Debbugs.wsdl to use https://debbugs.gnu.org seems like
it might work?