{"action":"created","issue":{"url":"https://api.github.com/repos/lavende/seu-history/issues/2","labels_url":"https://api.github.com/repos/lavende/seu-history/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lavende/seu-history/issues/2/comments","events_url":"https://api.github.com/repos/lavende/seu-history/issues/2/events","html_url":"https://github.com/lavende/seu-history/issues/2","id":83803864,"number":2,"title":"render需要手动update csrf token吗？","user":{"login":"yyypasserby","id":5011439,"avatar_url":"https://avatars.githubusercontent.com/u/5011439?v=3","gravatar_id":"","url":"https://api.github.com/users/yyypasserby","html_url":"https://github.com/yyypasserby","followers_url":"https://api.github.com/users/yyypasserby/followers","following_url":"https://api.github.com/users/yyypasserby/following{/other_user}","gists_url":"https://api.github.com/users/yyypasserby/gists{/gist_id}","starred_url":"https://api.github.com/users/yyypasserby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyypasserby/subscriptions","organizations_url":"https://api.github.com/users/yyypasserby/orgs","repos_url":"https://api.github.com/users/yyypasserby/repos","events_url":"https://api.github.com/users/yyypasserby/events{/privacy}","received_events_url":"https://api.github.com/users/yyypasserby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-02T02:53:09Z","updated_at":"2015-06-02T04:39:31Z","closed_at":null,"body":"我怎么记得render本身就是用的RequestContext，不用再手动update csrf。望讨论。"},"comment":{"url":"https://api.github.com/repos/lavende/seu-history/issues/comments/107799876","html_url":"https://github.com/lavende/seu-history/issues/2#issuecomment-107799876","issue_url":"https://api.github.com/repos/lavende/seu-history/issues/2","id":107799876,"user":{"login":"yyypasserby","id":5011439,"avatar_url":"https://avatars.githubusercontent.com/u/5011439?v=3","gravatar_id":"","url":"https://api.github.com/users/yyypasserby","html_url":"https://github.com/yyypasserby","followers_url":"https://api.github.com/users/yyypasserby/followers","following_url":"https://api.github.com/users/yyypasserby/following{/other_user}","gists_url":"https://api.github.com/users/yyypasserby/gists{/gist_id}","starred_url":"https://api.github.com/users/yyypasserby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyypasserby/subscriptions","organizations_url":"https://api.github.com/users/yyypasserby/orgs","repos_url":"https://api.github.com/users/yyypasserby/repos","events_url":"https://api.github.com/users/yyypasserby/events{/privacy}","received_events_url":"https://api.github.com/users/yyypasserby/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T04:39:31Z","updated_at":"2015-06-02T04:39:31Z","body":"对，我就是觉得如果你用的是render的话，context是不是可以不用update(crsf(request))，因为我记得默认调用的是requestcontext，而requestcontext会默认调用csrf的更新函数。如果你的返回不是render那就应该要update。"}}