{"action":"created","issue":{"url":"https://api.github.com/repos/yueyoum/seven-cow/issues/2","labels_url":"https://api.github.com/repos/yueyoum/seven-cow/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/yueyoum/seven-cow/issues/2/comments","events_url":"https://api.github.com/repos/yueyoum/seven-cow/issues/2/events","html_url":"https://github.com/yueyoum/seven-cow/issues/2","id":34836782,"number":2,"title":"fixed 614","user":{"login":"ego008","id":47590,"avatar_url":"https://avatars.githubusercontent.com/u/47590?v=3","gravatar_id":"","url":"https://api.github.com/users/ego008","html_url":"https://github.com/ego008","followers_url":"https://api.github.com/users/ego008/followers","following_url":"https://api.github.com/users/ego008/following{/other_user}","gists_url":"https://api.github.com/users/ego008/gists{/gist_id}","starred_url":"https://api.github.com/users/ego008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ego008/subscriptions","organizations_url":"https://api.github.com/users/ego008/orgs","repos_url":"https://api.github.com/users/ego008/repos","events_url":"https://api.github.com/users/ego008/events{/privacy}","received_events_url":"https://api.github.com/users/ego008/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-06-03T07:01:47Z","updated_at":"2015-01-20T01:59:21Z","closed_at":"2015-01-20T01:59:21Z","body":"七牛有个上传防覆盖机制，即同文件名同内容文件上传则更新文件puttime，若同文件名不同内容则返回614 错误代码。\r\n\r\n下面修改可强制覆盖\r\n\r\n```\r\n        url = '%s/upload' % UP_HOST\r\n-        token = self.generate_upload_token(scope)\r\n+        token = self.generate_upload_token('%s:%s' % (scope, filename))\r\n        names = names or {}\r\n```\r\n\r\n文档： http://developer.qiniu.com/docs/v6/api/reference/security/put-policy.html"},"comment":{"url":"https://api.github.com/repos/yueyoum/seven-cow/issues/comments/70592814","html_url":"https://github.com/yueyoum/seven-cow/issues/2#issuecomment-70592814","issue_url":"https://api.github.com/repos/yueyoum/seven-cow/issues/2","id":70592814,"user":{"login":"yueyoum","id":2081686,"avatar_url":"https://avatars.githubusercontent.com/u/2081686?v=3","gravatar_id":"","url":"https://api.github.com/users/yueyoum","html_url":"https://github.com/yueyoum","followers_url":"https://api.github.com/users/yueyoum/followers","following_url":"https://api.github.com/users/yueyoum/following{/other_user}","gists_url":"https://api.github.com/users/yueyoum/gists{/gist_id}","starred_url":"https://api.github.com/users/yueyoum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yueyoum/subscriptions","organizations_url":"https://api.github.com/users/yueyoum/orgs","repos_url":"https://api.github.com/users/yueyoum/repos","events_url":"https://api.github.com/users/yueyoum/events{/privacy}","received_events_url":"https://api.github.com/users/yueyoum/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T01:59:21Z","updated_at":"2015-01-20T01:59:21Z","body":"Hi, 已经添加这个特性。 "}}