michelangelo13 / openid4java

Automatically exported from code.google.com/p/openid4java
Apache License 2.0
0 stars 0 forks source link

Discovery http requests should include a Accept: application/xrds+xml header #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If the server supports it, and a lot do, the number of requestes needed to
obtain a XRDS document is 1.

Original issue reported on code.google.com by andrefcruz on 3 Feb 2009 at 12:20

GoogleCodeExporter commented 9 years ago
The accept header is set accordingly by the YadisResolver; furthermore, 
openid4java 
uses a custom HTTP cache, so extra network calls are avoided whenever possible.

Is there a specific scenario where all this doesn't work?

Original comment by Johnny.B...@gmail.com on 4 Feb 2009 at 9:33

GoogleCodeExporter commented 9 years ago
I don't know what I was looking at but I can see the header now.

Sorry.

Original comment by andrefcruz on 4 Feb 2009 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by Johnny.B...@gmail.com on 14 Feb 2009 at 3:51