[cas-dev] RE ST API returning TGT
dale77
Dale.Ogilvie at trimble.co.nz
Sun Sep 28 16:10:26 EDT 2008
I was just suggesting that the TGT be returned in the response body in
addition to the "standard" way to support more clients.
My flash client appears to be still broken even with this enhancement
though, as the sendAndLoad method of actionscript seems to treat a 201
response as an error... Sigh.
scott_battaglia wrote:
>
> We return it in the Location header because we're giving you the fully
> constructed URL of where the newly created object resides. That's from
> what
> I can tell, the "standard" way of doing it. And by standard, I mean, the
> way everyone else recommends doing it. :-) The difference between the TGT
> and the ST responses is that the TGT refers to a new resource that has
> been
> constructed and can be accessed via a URL. The ST doesn't have that.
> You're essentially just being returned a token identifier that you pass to
> an application.
>
> BTW, in case you hadn't noticed, we patched the TRUNK with the fix for the
> incorrect URL being sent back in the Location header.
> -Scott
>
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
--
View this message in context: http://www.nabble.com/REST-API-returning-TGT-tp19680442p19715068.html
Sent from the CAS Dev mailing list archive at Nabble.com.
More information about the cas-dev
mailing list