{"action":"created","issue":{"url":"https://api.github.com/repos/bottlepy/bottle/issues/761","labels_url":"https://api.github.com/repos/bottlepy/bottle/issues/761/labels{/name}","comments_url":"https://api.github.com/repos/bottlepy/bottle/issues/761/comments","events_url":"https://api.github.com/repos/bottlepy/bottle/issues/761/events","html_url":"https://github.com/bottlepy/bottle/issues/761","id":85579584,"number":761,"title":"Proposal for request global removal","user":{"login":"foxx","id":651797,"avatar_url":"https://avatars.githubusercontent.com/u/651797?v=3","gravatar_id":"","url":"https://api.github.com/users/foxx","html_url":"https://github.com/foxx","followers_url":"https://api.github.com/users/foxx/followers","following_url":"https://api.github.com/users/foxx/following{/other_user}","gists_url":"https://api.github.com/users/foxx/gists{/gist_id}","starred_url":"https://api.github.com/users/foxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxx/subscriptions","organizations_url":"https://api.github.com/users/foxx/orgs","repos_url":"https://api.github.com/users/foxx/repos","events_url":"https://api.github.com/users/foxx/events{/privacy}","received_events_url":"https://api.github.com/users/foxx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bottlepy/bottle/labels/Needs%20Documentation","name":"Needs Documentation","color":"0b02e1"},{"url":"https://api.github.com/repos/bottlepy/bottle/labels/Needs%20input","name":"Needs input","color":"9cb0ff"},{"url":"https://api.github.com/repos/bottlepy/bottle/labels/Needs%20test","name":"Needs test","color":"e102d8"},{"url":"https://api.github.com/repos/bottlepy/bottle/labels/Request","name":"Request","color":"78ffff"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bottlepy/bottle/milestones/6","html_url":"https://github.com/bottlepy/bottle/milestones/Release%200.13","labels_url":"https://api.github.com/repos/bottlepy/bottle/milestones/6/labels","id":836455,"number":6,"title":"Release 0.13","description":"","creator":{"login":"defnull","id":62740,"avatar_url":"https://avatars.githubusercontent.com/u/62740?v=3","gravatar_id":"","url":"https://api.github.com/users/defnull","html_url":"https://github.com/defnull","followers_url":"https://api.github.com/users/defnull/followers","following_url":"https://api.github.com/users/defnull/following{/other_user}","gists_url":"https://api.github.com/users/defnull/gists{/gist_id}","starred_url":"https://api.github.com/users/defnull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defnull/subscriptions","organizations_url":"https://api.github.com/users/defnull/orgs","repos_url":"https://api.github.com/users/defnull/repos","events_url":"https://api.github.com/users/defnull/events{/privacy}","received_events_url":"https://api.github.com/users/defnull/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2014-10-22T19:57:54Z","updated_at":"2015-08-17T20:05:20Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-06-05T16:50:39Z","updated_at":"2015-08-17T22:54:43Z","closed_at":null,"body":"Currently the request context is stored in the `request` global, which can encourage anti patterns such as accessing the request object from a database model. \r\n\r\nI'm thinking that a cleaner approach would be to pass in the `request` context to the view function itself, rather than having to access it from a global. This object would then be passed around as/where it was needed, encouraging modularity by design.\r\n\r\n```py\r\ndef some_view(request):\r\n    print request\r\n```\r\n\r\nCould a core maintainer give their thoughts?"},"comment":{"url":"https://api.github.com/repos/bottlepy/bottle/issues/comments/131986441","html_url":"https://github.com/bottlepy/bottle/issues/761#issuecomment-131986441","issue_url":"https://api.github.com/repos/bottlepy/bottle/issues/761","id":131986441,"user":{"login":"foxx","id":651797,"avatar_url":"https://avatars.githubusercontent.com/u/651797?v=3","gravatar_id":"","url":"https://api.github.com/users/foxx","html_url":"https://github.com/foxx","followers_url":"https://api.github.com/users/foxx/followers","following_url":"https://api.github.com/users/foxx/following{/other_user}","gists_url":"https://api.github.com/users/foxx/gists{/gist_id}","starred_url":"https://api.github.com/users/foxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxx/subscriptions","organizations_url":"https://api.github.com/users/foxx/orgs","repos_url":"https://api.github.com/users/foxx/repos","events_url":"https://api.github.com/users/foxx/events{/privacy}","received_events_url":"https://api.github.com/users/foxx/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T22:54:43Z","updated_at":"2015-08-17T22:54:43Z","body":"@defnull Are you still happy to have this included in 0.13? Any change of plan (re. plugins) from the previous comments?"}}