Re: [NTLK] another Courier question

From: Morgan Aldridge <makkintosshu_at_mac.com>
Date: Fri Oct 19 2007 - 11:59:41 EDT

On Oct 19, 2007, at 10:37 AM, Oliver Leaman wrote:

> I am really enjoying using Courier as a browser now I have ironed
> out most of the wrinkles with my wifi system in the 2100. I realize
> there are restrictions involved with it, but I am puzzled about
> something. Some sites it gets me to very neatly, but others it
> tells me that the address has changed, and gives me a long address
> that as far as I can see cannot be copied and then pasted into the
> browser. Yet these are all sites with just text, so I don't see
> what is going on.

Basically, the site you're visiting has a redirect of one type or
another. So, when courier asks for the page's content the server
gives either a 301 (moved permanently) or 302 (moved temporarily)
code back as the result and includes the URL to the new page.

Some sites will redirect users many, many, many times and so most
browsers have to create special cases for handling redirects so as
not to get caught in an infinite, or seemingly infinite, loop.

Eckhart Köppen's NHttpLib <http://40hz.org/NHttpLib/>, which Courier
relies on for the fetching of web page data, doesn't really handle
redirects. The latest version, 3.4.2, pops up the dialog box noting
that it was told to redirect you and what destination URL was
specified, but you're entirely correct that you can't copy that
address in any way.

Your best way to work around that is to use a more modern browser to
visit the page, see what page it ends up getting redirected to, and
use that URL to view the data.

I'd assume that the lack of redirect support is partly due lack of
development time, the inherent speed limitations of Internet usage
and HTTP requests from a Newton, as well as the need to write some
redirect handline.

Morgan Aldridge

--
morgant@makkintosshu.com
http://www.makkintosshu.com/
==================================================================== 
The NewtonTalk Mailing List - http://www.newtontalk.net/
The Official Newton FAQ     - http://www.splorp.com/newton/faq/
The Newton Glossary         - http://www.splorp.com/newton/glossary/
WikiWikiNewt                - http://tools.unna.org/wikiwikinewt/
====================================================================
Received on Fri Oct 19 12:00:13 2007

This archive was generated by hypermail 2.1.8 : Sat Oct 20 2007 - 16:30:00 EDT