{"action":"created","issue":{"url":"https://api.github.com/repos/benoitc/gunicorn/issues/1096","labels_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1096/comments","events_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1096/events","html_url":"https://github.com/benoitc/gunicorn/pull/1096","id":100381420,"number":1096,"title":"Forward SCRIPT_URL and REDIRECT_URL into wsgi env","user":{"login":"Ashald","id":397987,"avatar_url":"https://avatars.githubusercontent.com/u/397987?v=3","gravatar_id":"","url":"https://api.github.com/users/Ashald","html_url":"https://github.com/Ashald","followers_url":"https://api.github.com/users/Ashald/followers","following_url":"https://api.github.com/users/Ashald/following{/other_user}","gists_url":"https://api.github.com/users/Ashald/gists{/gist_id}","starred_url":"https://api.github.com/users/Ashald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ashald/subscriptions","organizations_url":"https://api.github.com/users/Ashald/orgs","repos_url":"https://api.github.com/users/Ashald/repos","events_url":"https://api.github.com/users/Ashald/events{/privacy}","received_events_url":"https://api.github.com/users/Ashald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-11T18:53:58Z","updated_at":"2015-08-12T15:15:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/benoitc/gunicorn/pulls/1096","html_url":"https://github.com/benoitc/gunicorn/pull/1096","diff_url":"https://github.com/benoitc/gunicorn/pull/1096.diff","patch_url":"https://github.com/benoitc/gunicorn/pull/1096.patch"},"body":"Main change: prevent prefixing these headers with 'HTTP_'.\r\n\r\nThese headers are very useful when you host your web-app under sub-path on the server and don't know 'SCRIPT_NAME' beforehand.\r\nExample usage in Django core: https://github.com/django/django/blob/master/django/core/handlers/wsgi.py#L200"},"comment":{"url":"https://api.github.com/repos/benoitc/gunicorn/issues/comments/130339174","html_url":"https://github.com/benoitc/gunicorn/pull/1096#issuecomment-130339174","issue_url":"https://api.github.com/repos/benoitc/gunicorn/issues/1096","id":130339174,"user":{"login":"Ashald","id":397987,"avatar_url":"https://avatars.githubusercontent.com/u/397987?v=3","gravatar_id":"","url":"https://api.github.com/users/Ashald","html_url":"https://github.com/Ashald","followers_url":"https://api.github.com/users/Ashald/followers","following_url":"https://api.github.com/users/Ashald/following{/other_user}","gists_url":"https://api.github.com/users/Ashald/gists{/gist_id}","starred_url":"https://api.github.com/users/Ashald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ashald/subscriptions","organizations_url":"https://api.github.com/users/Ashald/orgs","repos_url":"https://api.github.com/users/Ashald/repos","events_url":"https://api.github.com/users/Ashald/events{/privacy}","received_events_url":"https://api.github.com/users/Ashald/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T15:15:57Z","updated_at":"2015-08-12T15:15:57Z","body":"@benoitc err, yes to which of statements? :) Deriving SCRIPT_NAME from them?"}}