Andreas Seltenreich schrob:

> Tassilo Horn schrob:
>
>> I updated my NoGnus CVS copy, but Gnus still fetches only empty
>> messages.
>>
>> To get a little more concrete: I tried fetching the message
>>
>>      <[EMAIL PROTECTED]>
>>
>> by pressing RET on this message-id. *Messages* says:
>>
>> ,----[ *Messages* ]
>> | Opening nnweb server on google...done
>> | No matching articles
>> | No such article (may have expired or been canceled)
>> `----
>
> Hmm, right, I'm getting the same when mm-url-use-external is nil. The
> cause seems to be that there now are two redirects (302 Found). Too
> bad mm-url doesn't support redirects when doing internal fetching.
>
> I don't see how one can avoid all redirects, since the last one turns
> the message-id into some internal id :-(. So, referring articles by
> message-id is basically broken when mm-url-use-external is nil, until
> it is taught how to deal with redirects.
Update: url-http.el apparently does support redirects, but it seems to
get confused by the "Connection: close" extra header mm-url is feeding
to it. I suspect this is a bug in url-http.el, since it most probably
would also not work when connection keep-alive is disabled or not
supported on the server side.

Referring articles via nnweb.el works for me with mm-url-use-external
set to nil with the attached patch. I don't know what the motivation
was for disabling keep-alive in mm-url.el, so the patch might be a bad
idea...

regards,
andreas

Index: mm-url.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mm-url.el,v
retrieving revision 7.13
diff -c -r7.13 mm-url.el
*** mm-url.el	20 Jan 2006 08:35:06 -0000	7.13
--- mm-url.el	5 Apr 2006 04:01:04 -0000
***************
*** 299,305 ****
  	(list url (buffer-size)))
      (mm-url-load-url)
      (let ((name buffer-file-name)
- 	  (url-request-extra-headers (list (cons "Connection" "Close")))
  	  (url-package-name (or mm-url-package-name
  				url-package-name))
  	  (url-package-version (or mm-url-package-version
--- 299,304 ----
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to