开发者

Loading a cookie in google app engine

开发者_如何学JAVAWhat's the best way to load a facebook cookie in google app engine (python)?

The cookies attribute (in the request class) is a dictionary of cookies. Once I get mine I have a string with & sign separating the attributes. How can I turn this easily into a dictionary?

This is the string: "access_token=value&expires=value&secret=value&session_key=value&sig=value&uid=value"

(I've tried json.loads but it didn't work)


cgi.parse_qs

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜