{"action":"created","issue":{"url":"https://api.github.com/repos/php-http/plugins/issues/3","labels_url":"https://api.github.com/repos/php-http/plugins/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/php-http/plugins/issues/3/comments","events_url":"https://api.github.com/repos/php-http/plugins/issues/3/events","html_url":"https://github.com/php-http/plugins/issues/3","id":115743117,"number":3,"title":"Plugins planned","user":{"login":"joelwurtz","id":90466,"avatar_url":"https://avatars.githubusercontent.com/u/90466?v=3","gravatar_id":"","url":"https://api.github.com/users/joelwurtz","html_url":"https://github.com/joelwurtz","followers_url":"https://api.github.com/users/joelwurtz/followers","following_url":"https://api.github.com/users/joelwurtz/following{/other_user}","gists_url":"https://api.github.com/users/joelwurtz/gists{/gist_id}","starred_url":"https://api.github.com/users/joelwurtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelwurtz/subscriptions","organizations_url":"https://api.github.com/users/joelwurtz/orgs","repos_url":"https://api.github.com/users/joelwurtz/repos","events_url":"https://api.github.com/users/joelwurtz/events{/privacy}","received_events_url":"https://api.github.com/users/joelwurtz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-08T16:31:27Z","updated_at":"2015-11-08T21:01:06Z","closed_at":null,"body":"plugins planned (new or migrate from Ivory):\r\n\r\n * [x] Authentication (replaces BasicAuth by @sagikazarmark)\r\n * [x] Cookie (#35, migrate)\r\n * [ ] Formatter (migrate)\r\n * [ ] History (migrate)\r\n * [ ] Logger (migrate)\r\n * [x] Redirect (migrate)\r\n * [x] Retry (migrate)\r\n * [ ] Tape Recorder (PHP-VCR like by @jeromegamez, see #4)\r\n * [ ] Timer (migrate)\r\n * [x] Stopwatch (migrate)\r\n * [x] Convert error responses to exceptions (throw exception when status is 4xx / 5xx)\r\n * [ ] Base URI (to complete incomplete requests, see also #37)\r\n * [ ] Validator (validate http request based on protocol (1.0 / 1.1)\r\n * [ ] Sanitizer (add http request headers based on available informations, like Host header, Content-Length header, ...)\r\n * [ ] Deflate (Add header to request to say that we support compression, and decorate stream for deflate if needed)\r\n * [ ] Chunk (decorate stream when response is chunked)"},"comment":{"url":"https://api.github.com/repos/php-http/plugins/issues/comments/154871561","html_url":"https://github.com/php-http/plugins/issues/3#issuecomment-154871561","issue_url":"https://api.github.com/repos/php-http/plugins/issues/3","id":154871561,"user":{"login":"joelwurtz","id":90466,"avatar_url":"https://avatars.githubusercontent.com/u/90466?v=3","gravatar_id":"","url":"https://api.github.com/users/joelwurtz","html_url":"https://github.com/joelwurtz","followers_url":"https://api.github.com/users/joelwurtz/followers","following_url":"https://api.github.com/users/joelwurtz/following{/other_user}","gists_url":"https://api.github.com/users/joelwurtz/gists{/gist_id}","starred_url":"https://api.github.com/users/joelwurtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelwurtz/subscriptions","organizations_url":"https://api.github.com/users/joelwurtz/orgs","repos_url":"https://api.github.com/users/joelwurtz/repos","events_url":"https://api.github.com/users/joelwurtz/events{/privacy}","received_events_url":"https://api.github.com/users/joelwurtz/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T21:01:06Z","updated_at":"2015-11-08T21:01:06Z","body":"> What's the difference between history and logger?\r\n\r\nLogger log request / response / exception to a psr/log implementation\r\nHistory keep trace of http calls (request response couple) in a journal\r\n\r\nThe real distinction comes from the \"couple\" thing, in logger plugin there a just some events which may or may be not related, in history the trace is always with the couple"}}