0

response.headers not set?

Sorry for bugging you so much smile.gif

CODE
use 'http://yourock.paulisageek.com/yql/fetch.xml'; SELECT * FROM fetch WHERE url="http://live.xbox.com/en-US/profile/Achievements/ViewAchievementSummary.aspx?compareTo=Stallion83";


which is this code

CODE
var login = y.rest(url).get();
y.log(login);


that shows

CODE
<log>{"headers":{},"response":"&lt;html&gt; ...","status":"302"}</log>


but a curl shows more headers (specifically the Location header which I'm interested in) :

CODE
curl -I "http://live.xbox.com/en-US/profile/Achievements/ViewAchievementSummary.aspx?compareTo=Stallion83"
HTTP/1.1 302 Found
Date: Wed, 24 Jun 2009 04:19:59 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: [url="https://login.live.com/login.srf.."]https://login.live.com/login.srf..[/url].
Set-Cookie: PersistentId=40c8f08499...
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 599

by
1 Reply
  • Paul,

    Yes indeed a bug which is infact on track to be fixed and will be available in the next release.

    -- Nagesh


    QUOTE (Paul Tarjan @ Jun 23 2009, 08:25 PM) <{POST_SNAPBACK}>
    Sorry for bugging you so much :)Content-Length: 599
    0

Recent Posts

in YQL