[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Handle-info] HTTP/1.1 302 Moved Temporarily



Hi:

I just had a question about the handle server HTTP proxy interface and the
Status-Line it returns.

If I try to get a handle through hdl.handle.net (or dx.doi.org) I get a
Status-Code '302' with the Reason-Phrase 'Moved Temporarily'. (See listing
at end.)

As far as I can see this Reason-Phrase is wrong. These are the historical
Status-Lines:

    * RFC 1945 - May 96 (HTTP 1.0) - Replaced:

      HTTP 1.0 302 Moved Temporarily

    * RFC 2068 - Jan 97 (HTTP 1.1) - Replaced:

      HTTP 1.1 302 Moved Temporarily

    * RFC 2616 - Jun 99 (HTTP 1.1):

      HTTP 1.1 302 Found

The handle server seems to be using the obsolete RFC 2068 which was
superseded over 10 years ago by RFC 2616.

I don't know if this is the correct source:

% grep 302 *
HdlHttpRequestHandler.java:    out.write("HTTP/1.1 302 Moved
Temporarily\n");

While the "client is not required to examine or display the Reason-Phrase"
(see [1]) it's not helpful to use an obsolete message.

Should (or could) this be fixed, especially since status codes have a
burgeoning role to play within Linked Data implementations?

Cheers,

Tony

[1] http://tools.ietf.org/html/rfc2616#section-6.1



% curl -D dump_headers.txt 'http://hdl.handle.net/10.1000/1'

<HTML><HEAD><TITLE>Handle Redirect</TITLE></HEAD>
<BODY><A 
HREF="http://www.doi.org/index.html";>http://www.doi.org/index.html</A></BODY
></HTML>% 
% cat dump_headers.txt
HTTP/1.1 302 Moved Temporarily
Location: http://www.doi.org/index.html
Transfer-Encoding: chunked
Date: Mon, 08 Feb 2010 12:36:50 GMT
Server: Apache Coyote/1.0
Connection: close





********************************************************************************   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   
********************************************************************************


_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info