{"action":"created","issue":{"url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/45","repository_url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware","labels_url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/45/comments","events_url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/45/events","html_url":"https://github.com/Kevinrob/guzzle-cache-middleware/pull/45","id":136847610,"number":45,"title":"Keep headers when revalidate cache entry (RFC 7234 - section 4.3.4)","user":{"login":"ppaulis","id":1609503,"avatar_url":"https://avatars.githubusercontent.com/u/1609503?v=3","gravatar_id":"","url":"https://api.github.com/users/ppaulis","html_url":"https://github.com/ppaulis","followers_url":"https://api.github.com/users/ppaulis/followers","following_url":"https://api.github.com/users/ppaulis/following{/other_user}","gists_url":"https://api.github.com/users/ppaulis/gists{/gist_id}","starred_url":"https://api.github.com/users/ppaulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppaulis/subscriptions","organizations_url":"https://api.github.com/users/ppaulis/orgs","repos_url":"https://api.github.com/users/ppaulis/repos","events_url":"https://api.github.com/users/ppaulis/events{/privacy}","received_events_url":"https://api.github.com/users/ppaulis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-26T23:53:30Z","updated_at":"2016-02-27T21:47:00Z","closed_at":"2016-02-27T17:19:34Z","pull_request":{"url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/pulls/45","html_url":"https://github.com/Kevinrob/guzzle-cache-middleware/pull/45","diff_url":"https://github.com/Kevinrob/guzzle-cache-middleware/pull/45.diff","patch_url":"https://github.com/Kevinrob/guzzle-cache-middleware/pull/45.patch"},"body":"I'm using your middleware to cache the results from the GitHub API. Like many others, GitHub sends its pagination URLs in the Link header, and currently this header gets lost on revalidation.\r\n\r\nWith this PR, the Link header information is kept in the cache and subsequent HTTP requests won't be lost. Let me know, if you think that there are other infos to be kept also :)\r\n\r\nRegards,\r\nPascal"},"comment":{"url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/comments/189734906","html_url":"https://github.com/Kevinrob/guzzle-cache-middleware/pull/45#issuecomment-189734906","issue_url":"https://api.github.com/repos/Kevinrob/guzzle-cache-middleware/issues/45","id":189734906,"user":{"login":"ppaulis","id":1609503,"avatar_url":"https://avatars.githubusercontent.com/u/1609503?v=3","gravatar_id":"","url":"https://api.github.com/users/ppaulis","html_url":"https://github.com/ppaulis","followers_url":"https://api.github.com/users/ppaulis/followers","following_url":"https://api.github.com/users/ppaulis/following{/other_user}","gists_url":"https://api.github.com/users/ppaulis/gists{/gist_id}","starred_url":"https://api.github.com/users/ppaulis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppaulis/subscriptions","organizations_url":"https://api.github.com/users/ppaulis/orgs","repos_url":"https://api.github.com/users/ppaulis/repos","events_url":"https://api.github.com/users/ppaulis/events{/privacy}","received_events_url":"https://api.github.com/users/ppaulis/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T21:47:00Z","updated_at":"2016-02-27T21:47:00Z","body":"@Kevinrob works like a charm now, thanks for quick responses!"}}