I have deleted all records in ~/Library/Application\ Support/BOXEE/UserData/profiles/Chooh/browser/cookies.sqlite.
For authentication, boxee app sends request to URL with credentials:
The output isCode:http = mc.Http() http.SetHttpHeader('Cookie', 'deviceToken=35b895d5e2362061e35784335f9b3b1e91c07c2e') http.Post('http://localhost:3000/login', '') cj = mc.GetCookieJar() cf = open(cj) cl = cf.read(); cf.close() print "cookies is %s" % cl
But when I am trying to play item, the request goes with only one cookie:Code:# Netscape HTTP Cookie File # http://curl.haxx.se/rfc/cookie_spec.html # This file was generated by libcurl! Edit at your own risk. .boxee.tv TRUE / FALSE 0 boxee_app df400ab05c972f5a1b575f236c8f0792 localhost FALSE / FALSE 1940617783 tracker a5bf07673a338ce9d6cbb0b68cd43133766c91f0 .boxee.tv TRUE / FALSE 0 boxee_ping_version 9 localhost FALSE / FALSE 1341090057 deviceToken 35b895d5e2362061e35784335f9b3b1e91c07c2e
If then quit Boxee and check the cookies.sqlite file, there won't be deviceToken cookie.Code:---- {"tracker"=>"0ce40f0f187b633ceb9484707b5f697ed0599f5d"}
Where Boxee loose my cookie?! I have double checked server side with curl, everything is fine.Code:sqlite> select * from moz_cookies; 1309467902004445|tracker|0ce40f0f187b633ceb9484707b5f697ed0599f5d|localhost|/|1940619898|1309467902004445|0|0


Reply With Quote
Bookmarks