[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
should treat HTTP 404 just like other pages
- From: jidanni@xxxxxxxxxxx
- Date: Tue, 07 Jul 2009 01:42:29 +0800
- X-ml-name: emacs-w3m
- X-mail-count: 10946
I am using WWWOFFLE offline today. For pages not yet in its cache,
WWWOFFLE returns HTTP 404, and a page like:
Location: http://example.net/bla
WWWOFFLE - World Wide Web Offline Explorer - v2.9d
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WWWOFFLE Request Recorded
Your request for URL
http://example.net/bla
has been recorded for download.
[Refresh:Options|Monitor|Delete|Index|Configure]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WWWOFFLE - [Welcome Page|FAQ] - WWWOFFLE
This is all well and good, except that emacs-w3m won't let me look at
the source. w3m-view-source says
Cannot retrieve URL: about://source/http://example.net/bla
This is bad. Some people would like to see the source of a page, even if
it is 404, and emacs-w3m should let them.
OK, now there is another problem. I notice that if I forget the trailing
slash, I get
Location: http://example.net
Cannot retrieve URL: http://example.net (exit status: 0)
example.net could not be found; check the name of the URL.
instead of the above WWWOFFLE page, however that URL still gets on the
WWWOFFLE outgoing list, http://localhost:8080/index/outgoing/ .
Real w3m does not have that problem:
$ w3m -dump http://example.net
WWWOFFLE - World Wide Web Offline Explorer - v2.9d ...