← Prev in month ← Prev in thread

FW: [xrds-simple] X-XRDS-Location and redirects

From
Drummond Reed <>
Date
2008-04-03T06:18:53+00:00
ID
037001c89552$8b81dde0$6d01a8c0@ELROND
Thread
FW: [xrds-simple] X-XRDS-Location and redirects
This question was just asked on the XRDS-Simple list, and it was good enough
I though it needed scrutiny here as well.

=Drummond 

-----Original Message-----
From:  [mailto:] On
Behalf Of Manger, James H
Sent: Wednesday, April 02, 2008 10:46 PM
To: 
Subject: [xrds-simple] X-XRDS-Location and redirects

Q. Do HTTP redirects or an X-XRDS-Location header take precedence?

Phrased differently, what should a client do after the following discovery
request & response?

->  GET /some/resource HTTP/1.1
    Host: example.org
    Accept: application/xrds+xml

<-  303 See Other
    X-XRDS-Location: http://example.org/some/resource.xrds
    Location: http://example.org/some/resource.html

Option 1: follow X-XRDS-Location

->  GET /some/resource.xrds HTTP/1.1

Option 2: follow HTTP redirect

->  GET /some/resource.html HTTP/1.1


I don't think the specs (XRDS or XRDS-Simple) indicates which
option is right, or whether the client is free to choose.

I prefer option 1 -- probably as allowed client behaviour, or perhaps
as required behaviour.

Whatever the choice, it would be good to explicitly state it in the spec.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"XRDS-Simple" group.
To post to this group, send email to 
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/xrds-simple?hl=en
-~----------~----~----~----~------~----~------~--~---
← Prev in month ← Prev in thread