Re: HTTP/1.1 301 with Magpie
Josh Sled <[email protected]> Tue, 22 Feb 2005 09:56:39 -0500
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Organization | Asynchronous.org |
| Message-ID | <1109084199.17990.9.camel@phoenix> |
On Sat, 2005-02-19 at 09:22, Bob DEO wrote:
> When I try to use the last version of Magpie, I've got a strange error (only
> with 1 server !) :
>
> Warning: MagpieRSS: Failed to fetch http://www.mediabb.com/backend-news.php3
> (HTTP Response: HTTP/1.1 301 Moved Permanently ) in
> /home/dhordain/www/magpierss/rss_fetch.inc on line 238
> bool(false)
Note that I know nothing about Magpie, but 301 is HTTP's "moved
permanently" status code. It's not an error, per se, but it's usually
easier to implement some of HTTP's more useful responses as "errors" or
"exceptions" in most programming languages.
It means that the resource you're trying to GET
[http://www.mediabb.com/backend-news.php3] has been moved somewhere; the
"Location" header should provide the new URL of the resource. See [1]
for more info.
When I get that URL with `wget`, however, it retrieves fine with no
redirection.
[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2
...jsled
--
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/