开发者

Loading a cookie in google app engine

开发者 https://www.devze.com 2023-03-03 18:51 出处:网络
开发者_如何学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

开发者_如何学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

精彩评论

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