Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Andreas Seltenreich <seltenreich@gmx.de>
Subject: Re: Problems with `nnweb' mode
Date: Wed, 05 Apr 2006 06:22:33 +0200	[thread overview]
Message-ID: <87k6a4vegm.fsf@gate450.dyndns.org> (raw)
In-Reply-To: <87zmj0vpks.fsf@gate450.dyndns.org> (Andreas Seltenreich's message of "Wed, 05 Apr 2006 02:22:27 +0200")

[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]

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
>>
>>      <419g22duprrhohcfaf84srcl0bdrljsjnl@4ax.com>
>>
>> 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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: mm-url.patch --]
[-- Type: text/x-patch, Size: 604 bytes --]

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 ----

[-- Attachment #3: Type: text/plain, Size: 161 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

  reply	other threads:[~2006-04-05  4:22 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-02  9:27 Old messages missing on the present newsgroup Rodolfo Medina
2006-04-02 15:24 ` David Z Maze
2006-04-02 15:45   ` Andrzej Adam Filip
2006-04-03 16:43     ` Rodolfo Medina
2006-04-03 17:57       ` Andrzej Adam Filip
2006-04-03 21:47         ` Rodolfo Medina
2006-04-04 15:00           ` Andrzej Adam Filip
2006-04-04 10:54         ` Problems with `nnweb' mode (was: Old messages missing on the present newsgroup) Rodolfo Medina
2006-04-04 19:30           ` Problems with `nnweb' mode Tassilo Horn
2006-04-04 22:00             ` Andreas Seltenreich
2006-04-04 23:19               ` Tassilo Horn
2006-04-05  0:22                 ` Andreas Seltenreich
2006-04-05  4:22                   ` Andreas Seltenreich [this message]
2006-04-05  8:12                     ` Tassilo Horn
     [not found]                     ` <mailman.85.1144224797.9609.info-gnus-english@gnu.org>
2006-04-05 23:42                       ` Rodolfo Medina
2006-04-05  8:00                   ` Tassilo Horn
2006-04-05 23:40                     ` Andreas Seltenreich
2006-04-06  9:19                       ` Tassilo Horn
2006-04-06 16:04                         ` Tassilo Horn
     [not found]                       ` <mailman.117.1144315172.9609.info-gnus-english@gnu.org>
2006-04-06 13:51                         ` Rodolfo Medina
2006-04-06 15:08                           ` Tassilo Horn
2006-04-06 15:53                             ` Reiner Steib
2006-04-06 16:45                               ` Tassilo Horn
2006-04-06 18:10                                 ` Reiner Steib
2006-04-06 18:35                                   ` Tassilo Horn
     [not found]                               ` <mailman.133.1144341940.9609.info-gnus-english@gnu.org>
2006-04-06 20:55                                 ` Adam Sjøgren
     [not found]                           ` <mailman.125.1144336133.9609.info-gnus-english@gnu.org>
2006-04-06 15:41                             ` Rodolfo Medina
2006-04-06 16:51                               ` Tassilo Horn
     [not found]                               ` <mailman.134.1144342330.9609.info-gnus-english@gnu.org>
2006-04-07 10:04                                 ` Rodolfo Medina
2006-04-07 11:10                                   ` Tassilo Horn
     [not found]                                   ` <mailman.160.1144408269.9609.info-gnus-english@gnu.org>
2006-04-07 11:33                                     ` Rodolfo Medina
2006-04-07 14:37                                       ` Tassilo Horn
2006-04-07 14:47                                     ` Rodolfo Medina
2006-04-07 16:29                                       ` Tassilo Horn
     [not found]                                       ` <mailman.171.1144427470.9609.info-gnus-english@gnu.org>
2006-04-07 17:31                                         ` Johan Bockgård
2006-04-07 17:53                                           ` Tassilo Horn
2006-04-08 13:04                                         ` Problems with `nnweb' mode (was: Old messages missing on the present newsgroup) Rodolfo Medina
2006-04-08 14:09                                           ` Problems with `nnweb' mode Tassilo Horn
     [not found]                                           ` <mailman.200.1144505381.9609.info-gnus-english@gnu.org>
2006-04-08 16:46                                             ` Rodolfo Medina
2006-04-08 18:21                                               ` Tassilo Horn
     [not found]                                               ` <mailman.203.1144520497.9609.info-gnus-english@gnu.org>
2006-04-11 15:50                                                 ` Old messages missing on the present newsgroup Rodolfo Medina
2006-04-11 17:25                                                   ` Tassilo Horn
2006-04-09  9:54                                             ` Problems with `nnweb' mode Rodolfo Medina
2006-04-09 15:38                                               ` Tassilo Horn
     [not found]                                               ` <mailman.214.1144597109.9609.info-gnus-english@gnu.org>
2006-04-11 15:39                                                 ` Rodolfo Medina
2006-04-11 15:21                                                   ` Tassilo Horn
     [not found]                                                   ` <mailman.303.1144768908.9609.info-gnus-english@gnu.org>
2006-04-13 14:35                                                     ` Rodolfo Medina
2006-04-13 15:11                                                       ` Tassilo Horn
2006-04-14 18:18                                           ` Old messages missing on the present newsgroup Rodolfo Medina
2006-04-14 20:19                                             ` Reiner Steib
     [not found]               ` <mailman.63.1144192791.9609.info-gnus-english@gnu.org>
2006-04-04 23:33                 ` Problems with `nnweb' mode Andrzej Adam Filip
2006-04-05  0:27                   ` Andreas Seltenreich
     [not found]           ` <mailman.51.1144180523.9609.info-gnus-english@gnu.org>
2006-04-05  9:19             ` Tim X
2006-04-05 10:46               ` Tassilo Horn
2006-04-03  8:28 ` Old messages missing on the present newsgroup Alan_C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k6a4vegm.fsf@gate450.dyndns.org \
    --to=seltenreich@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).