OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


 I agree, the HTTP redirects should be followed first before looking at the headers or body.

Markus

On Thu, Apr 3, 2008 at 8:31 AM, John Bradley <jbradley@mac.com> wrote:
It should be consistent with openID 2.0 discovery.  Follow ALL redirects first.  Then retrieve the header or XRDS.

The product of the second normalization or claimed identifier is the URL after following ALL  redirects.

There are some practical CURL library issues that make this the easer case to program for most things.

=jbradley

On 2-Apr-08, at 11:18 PM, Drummond Reed wrote:
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: xrds-simple@googlegroups.com [mailto:xrds-simple@googlegroups.com] On
Behalf Of Manger, James H
Sent: Wednesday, April 02, 2008 10:46 PM
To: xrds-simple@googlegroups.com
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 xrds-simple@googlegroups.com
To unsubscribe from this group, send email to
xrds-simple-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/xrds-simple?hl=en
-~----------~----~----~----~------~----~------~--~---



---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  You may a link to this group and all your TCs in OASIS
at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]