{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-httpclient/issues/28","repository_url":"https://api.github.com/repos/yiisoft/yii2-httpclient","labels_url":"https://api.github.com/repos/yiisoft/yii2-httpclient/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-httpclient/issues/28/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-httpclient/issues/28/events","html_url":"https://github.com/yiisoft/yii2-httpclient/issues/28","id":129296263,"number":28,"title":"Http cache (304 not modified)","user":{"login":"LAV45","id":675367,"avatar_url":"https://avatars.githubusercontent.com/u/675367?v=3","gravatar_id":"","url":"https://api.github.com/users/LAV45","html_url":"https://github.com/LAV45","followers_url":"https://api.github.com/users/LAV45/followers","following_url":"https://api.github.com/users/LAV45/following{/other_user}","gists_url":"https://api.github.com/users/LAV45/gists{/gist_id}","starred_url":"https://api.github.com/users/LAV45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LAV45/subscriptions","organizations_url":"https://api.github.com/users/LAV45/orgs","repos_url":"https://api.github.com/users/LAV45/repos","events_url":"https://api.github.com/users/LAV45/events{/privacy}","received_events_url":"https://api.github.com/users/LAV45/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2-httpclient/labels/enhancement","name":"enhancement","color":"d7e102"},{"url":"https://api.github.com/repos/yiisoft/yii2-httpclient/labels/status:ready%20for%20adoption","name":"status:ready for adoption","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-01-27T22:56:31Z","updated_at":"2016-10-20T20:51:16Z","closed_at":"2016-07-27T09:15:20Z","body":"Нужна добавить возможность кэширования ответа от сервера, с помощью http загаловков.\r\n`\"yiisoft/yii2\": \"*\"` сейчас присутствует в зависимостях, поэтому для хранения можно использовать интерфейс `yii\\caching\\Cache`\r\n\r\nPS у `\"yiisoft/yii2\": \"*\"` желательно указать фиксированую версию."},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2-httpclient/issues/comments/255224524","html_url":"https://github.com/yiisoft/yii2-httpclient/issues/28#issuecomment-255224524","issue_url":"https://api.github.com/repos/yiisoft/yii2-httpclient/issues/28","id":255224524,"user":{"login":"klimov-paul","id":1482054,"avatar_url":"https://avatars.githubusercontent.com/u/1482054?v=3","gravatar_id":"","url":"https://api.github.com/users/klimov-paul","html_url":"https://github.com/klimov-paul","followers_url":"https://api.github.com/users/klimov-paul/followers","following_url":"https://api.github.com/users/klimov-paul/following{/other_user}","gists_url":"https://api.github.com/users/klimov-paul/gists{/gist_id}","starred_url":"https://api.github.com/users/klimov-paul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimov-paul/subscriptions","organizations_url":"https://api.github.com/users/klimov-paul/orgs","repos_url":"https://api.github.com/users/klimov-paul/repos","events_url":"https://api.github.com/users/klimov-paul/events{/privacy}","received_events_url":"https://api.github.com/users/klimov-paul/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T20:51:16Z","updated_at":"2016-10-20T20:51:16Z","body":"> can be returned without performing of the http request.\r\n\r\nI don't get it. '30x' response status either processed automatically at 'stream' or 'CURL' library level or return as it is. If you enable `followLocation` library will automatically perform second request without any ability to interfere from outside, if you disable it - the response with '30x' status will be returned as it is, and you can process it as you like."}}
{"actor":{"display_login":"klimov-paul"}}