{"action":"created","comment":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/68539351","id":68539351,"diff_hunk":"@@ -37,7 +37,25 @@ CHTTPImageHandler::CHTTPImageHandler(const HTTPRequest &request)\n     XFILE::CImageFile imageFile;\n     const CURL pathToUrl(file);\n     if (imageFile.Exists(pathToUrl))\n+    {\n       responseStatus = MHD_HTTP_OK;\n+      struct __stat64 statBuffer;\n+      if (imageFile.Stat(pathToUrl, &statBuffer) == 0)\n+      {\n+        struct tm *lastChange;\n+#ifdef HAVE_LOCALTIME_R","path":"xbmc/network/httprequesthandler/HTTPImageHandler.cpp","position":10,"original_position":10,"commit_id":"ce806a304199f63d9bf6553f25ba649b12aaa992","original_commit_id":"ce806a304199f63d9bf6553f25ba649b12aaa992","user":{"login":"Rechi","id":5367567,"avatar_url":"https://avatars.githubusercontent.com/u/5367567?v=3","gravatar_id":"","url":"https://api.github.com/users/Rechi","html_url":"https://github.com/Rechi","followers_url":"https://api.github.com/users/Rechi/followers","following_url":"https://api.github.com/users/Rechi/following{/other_user}","gists_url":"https://api.github.com/users/Rechi/gists{/gist_id}","starred_url":"https://api.github.com/users/Rechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rechi/subscriptions","organizations_url":"https://api.github.com/users/Rechi/orgs","repos_url":"https://api.github.com/users/Rechi/repos","events_url":"https://api.github.com/users/Rechi/events{/privacy}","received_events_url":"https://api.github.com/users/Rechi/received_events","type":"User","site_admin":false},"body":"that is already used in https://github.com/xbmc/xbmc/blob/master/xbmc/network/httprequesthandler/HTTPFileHandler.cpp#L94","created_at":"2016-06-27T08:30:48Z","updated_at":"2016-06-27T08:30:48Z","html_url":"https://github.com/xbmc/xbmc/pull/10032#discussion_r68539351","pull_request_url":"https://api.github.com/repos/xbmc/xbmc/pulls/10032","_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/68539351"},"html":{"href":"https://github.com/xbmc/xbmc/pull/10032#discussion_r68539351"},"pull_request":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/10032"}}},"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/10032","id":75203931,"html_url":"https://github.com/xbmc/xbmc/pull/10032","diff_url":"https://github.com/xbmc/xbmc/pull/10032.diff","patch_url":"https://github.com/xbmc/xbmc/pull/10032.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/10032","number":10032,"state":"open","locked":false,"title":"[webserver] CHTTPImageHandler: add GetLastModifiedDate implementation","user":{"login":"Rechi","id":5367567,"avatar_url":"https://avatars.githubusercontent.com/u/5367567?v=3","gravatar_id":"","url":"https://api.github.com/users/Rechi","html_url":"https://github.com/Rechi","followers_url":"https://api.github.com/users/Rechi/followers","following_url":"https://api.github.com/users/Rechi/following{/other_user}","gists_url":"https://api.github.com/users/Rechi/gists{/gist_id}","starred_url":"https://api.github.com/users/Rechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rechi/subscriptions","organizations_url":"https://api.github.com/users/Rechi/orgs","repos_url":"https://api.github.com/users/Rechi/repos","events_url":"https://api.github.com/users/Rechi/events{/privacy}","received_events_url":"https://api.github.com/users/Rechi/received_events","type":"User","site_admin":false},"body":"Posters for movies, tv shows and music can be cached by the browser.","created_at":"2016-06-25T12:43:55Z","updated_at":"2016-06-27T08:30:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c6c9b24f1d8f07b01922e919869a52bb277f389","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/10032/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/10032/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/10032/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/ce806a304199f63d9bf6553f25ba649b12aaa992","head":{"label":"Rechi:httpCacheImage","ref":"httpCacheImage","sha":"ce806a304199f63d9bf6553f25ba649b12aaa992","user":{"login":"Rechi","id":5367567,"avatar_url":"https://avatars.githubusercontent.com/u/5367567?v=3","gravatar_id":"","url":"https://api.github.com/users/Rechi","html_url":"https://github.com/Rechi","followers_url":"https://api.github.com/users/Rechi/followers","following_url":"https://api.github.com/users/Rechi/following{/other_user}","gists_url":"https://api.github.com/users/Rechi/gists{/gist_id}","starred_url":"https://api.github.com/users/Rechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rechi/subscriptions","organizations_url":"https://api.github.com/users/Rechi/orgs","repos_url":"https://api.github.com/users/Rechi/repos","events_url":"https://api.github.com/users/Rechi/events{/privacy}","received_events_url":"https://api.github.com/users/Rechi/received_events","type":"User","site_admin":false},"repo":{"id":31212951,"name":"xbmc","full_name":"Rechi/xbmc","owner":{"login":"Rechi","id":5367567,"avatar_url":"https://avatars.githubusercontent.com/u/5367567?v=3","gravatar_id":"","url":"https://api.github.com/users/Rechi","html_url":"https://github.com/Rechi","followers_url":"https://api.github.com/users/Rechi/followers","following_url":"https://api.github.com/users/Rechi/following{/other_user}","gists_url":"https://api.github.com/users/Rechi/gists{/gist_id}","starred_url":"https://api.github.com/users/Rechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rechi/subscriptions","organizations_url":"https://api.github.com/users/Rechi/orgs","repos_url":"https://api.github.com/users/Rechi/repos","events_url":"https://api.github.com/users/Rechi/events{/privacy}","received_events_url":"https://api.github.com/users/Rechi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Rechi/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":true,"url":"https://api.github.com/repos/Rechi/xbmc","forks_url":"https://api.github.com/repos/Rechi/xbmc/forks","keys_url":"https://api.github.com/repos/Rechi/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rechi/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rechi/xbmc/teams","hooks_url":"https://api.github.com/repos/Rechi/xbmc/hooks","issue_events_url":"https://api.github.com/repos/Rechi/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/Rechi/xbmc/events","assignees_url":"https://api.github.com/repos/Rechi/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/Rechi/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/Rechi/xbmc/tags","blobs_url":"https://api.github.com/repos/Rechi/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rechi/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rechi/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rechi/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rechi/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/Rechi/xbmc/languages","stargazers_url":"https://api.github.com/repos/Rechi/xbmc/stargazers","contributors_url":"https://api.github.com/repos/Rechi/xbmc/contributors","subscribers_url":"https://api.github.com/repos/Rechi/xbmc/subscribers","subscription_url":"https://api.github.com/repos/Rechi/xbmc/subscription","commits_url":"https://api.github.com/repos/Rechi/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rechi/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rechi/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rechi/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rechi/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/Rechi/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rechi/xbmc/merges","archive_url":"https://api.github.com/repos/Rechi/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rechi/xbmc/downloads","issues_url":"https://api.github.com/repos/Rechi/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/Rechi/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/Rechi/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/Rechi/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rechi/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/Rechi/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/Rechi/xbmc/deployments","created_at":"2015-02-23T15:03:56Z","updated_at":"2016-01-11T16:25:13Z","pushed_at":"2016-06-27T07:37:00Z","git_url":"git://github.com/Rechi/xbmc.git","ssh_url":"git@github.com:Rechi/xbmc.git","clone_url":"https://github.com/Rechi/xbmc.git","svn_url":"https://github.com/Rechi/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":529948,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xbmc:master","ref":"master","sha":"b101751eb0186377f366f2e4673e853865472641","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":1217614,"name":"xbmc","full_name":"xbmc/xbmc","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":false,"url":"https://api.github.com/repos/xbmc/xbmc","forks_url":"https://api.github.com/repos/xbmc/xbmc/forks","keys_url":"https://api.github.com/repos/xbmc/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/xbmc/teams","hooks_url":"https://api.github.com/repos/xbmc/xbmc/hooks","issue_events_url":"https://api.github.com/repos/xbmc/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/xbmc/events","assignees_url":"https://api.github.com/repos/xbmc/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/xbmc/tags","blobs_url":"https://api.github.com/repos/xbmc/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/xbmc/languages","stargazers_url":"https://api.github.com/repos/xbmc/xbmc/stargazers","contributors_url":"https://api.github.com/repos/xbmc/xbmc/contributors","subscribers_url":"https://api.github.com/repos/xbmc/xbmc/subscribers","subscription_url":"https://api.github.com/repos/xbmc/xbmc/subscription","commits_url":"https://api.github.com/repos/xbmc/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/xbmc/merges","archive_url":"https://api.github.com/repos/xbmc/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/xbmc/downloads","issues_url":"https://api.github.com/repos/xbmc/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/xbmc/xbmc/deployments","created_at":"2011-01-03T21:18:51Z","updated_at":"2016-06-27T07:26:10Z","pushed_at":"2016-06-27T07:37:01Z","git_url":"git://github.com/xbmc/xbmc.git","ssh_url":"git@github.com:xbmc/xbmc.git","clone_url":"https://github.com/xbmc/xbmc.git","svn_url":"https://github.com/xbmc/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":1750647,"stargazers_count":4876,"watchers_count":4876,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3572,"mirror_url":null,"open_issues_count":189,"forks":3572,"open_issues":189,"watchers":4876,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/10032"},"html":{"href":"https://github.com/xbmc/xbmc/pull/10032"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/10032"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/10032/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/10032/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/10032/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/ce806a304199f63d9bf6553f25ba649b12aaa992"}}}}
{"actor":{"display_login":"Rechi"}}