{"action":"created","issue":{"url":"https://api.github.com/repos/heron-mc/heron-mc/issues/433","labels_url":"https://api.github.com/repos/heron-mc/heron-mc/issues/433/labels{/name}","comments_url":"https://api.github.com/repos/heron-mc/heron-mc/issues/433/comments","events_url":"https://api.github.com/repos/heron-mc/heron-mc/issues/433/events","html_url":"https://github.com/heron-mc/heron-mc/pull/433","id":111565561,"number":433,"title":"added wsgi-version of heron.cgi","user":{"login":"deduikertjes","id":3042799,"avatar_url":"https://avatars.githubusercontent.com/u/3042799?v=3","gravatar_id":"","url":"https://api.github.com/users/deduikertjes","html_url":"https://github.com/deduikertjes","followers_url":"https://api.github.com/users/deduikertjes/followers","following_url":"https://api.github.com/users/deduikertjes/following{/other_user}","gists_url":"https://api.github.com/users/deduikertjes/gists{/gist_id}","starred_url":"https://api.github.com/users/deduikertjes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deduikertjes/subscriptions","organizations_url":"https://api.github.com/users/deduikertjes/orgs","repos_url":"https://api.github.com/users/deduikertjes/repos","events_url":"https://api.github.com/users/deduikertjes/events{/privacy}","received_events_url":"https://api.github.com/users/deduikertjes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-15T08:08:46Z","updated_at":"2015-10-20T16:15:30Z","closed_at":"2015-10-15T14:39:12Z","pull_request":{"url":"https://api.github.com/repos/heron-mc/heron-mc/pulls/433","html_url":"https://github.com/heron-mc/heron-mc/pull/433","diff_url":"https://github.com/heron-mc/heron-mc/pull/433.diff","patch_url":"https://github.com/heron-mc/heron-mc/pull/433.patch"},"body":"I've added an wsgi-version of heron-cgi.\r\nIt's still early work, but I create a pull request so that you maybe can redesign heron.cgi in future versions.\r\nIt would be nice if both heron.cgi and heron-wsgi.py could work from the same code base without code replication.\r\n\r\nI've tested the application under uwsgi and using POST requests and all is working fine. Didn't test GET requests yet or any exceptions handling.\r\n\r\nThe docsrc/tutorials/ApacheWindows.rst doesn't belong in this commit. Apparently I f** up again using GIT.\r\n\r\nMArco"},"comment":{"url":"https://api.github.com/repos/heron-mc/heron-mc/issues/comments/149619827","html_url":"https://github.com/heron-mc/heron-mc/pull/433#issuecomment-149619827","issue_url":"https://api.github.com/repos/heron-mc/heron-mc/issues/433","id":149619827,"user":{"login":"deduikertjes","id":3042799,"avatar_url":"https://avatars.githubusercontent.com/u/3042799?v=3","gravatar_id":"","url":"https://api.github.com/users/deduikertjes","html_url":"https://github.com/deduikertjes","followers_url":"https://api.github.com/users/deduikertjes/followers","following_url":"https://api.github.com/users/deduikertjes/following{/other_user}","gists_url":"https://api.github.com/users/deduikertjes/gists{/gist_id}","starred_url":"https://api.github.com/users/deduikertjes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deduikertjes/subscriptions","organizations_url":"https://api.github.com/users/deduikertjes/orgs","repos_url":"https://api.github.com/users/deduikertjes/repos","events_url":"https://api.github.com/users/deduikertjes/events{/privacy}","received_events_url":"https://api.github.com/users/deduikertjes/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T16:15:30Z","updated_at":"2015-10-20T16:15:30Z","body":"Just,\n\nI've tested and in my setup using uwsgi with a static wsgi-file \ndefinition things are working fine.\nIt won't be working fine in full dynamic mode with wsgi script names \ncoming from nginx until we can rename to heron.py.\n\nMArco\n\n\nOn 17-10-15 15:35, Just van den Broecke wrote:\n>\n> I've opened issue #434 \n> <https://github.com/heron-mc/heron-mc/issues/434> to work on a \n> combined WSGI/CGI script. For now in |heron.cgi file| (|heron.py| \n> would be better, but changes too much for existing installations). See\n> https://github.com/heron-mc/heron-mc/blob/master/heron/cgi-bin/heron.cgi\n> Also got rid of global \"params\" variable. Sniffing for CGI or WSGI \n> works. Not yet tested with real WSGI framework like |mod-wsgi|, but \n> works locally with standalone Python |wsgiref| server (port 8000 as \n> 8080 collided with Tomcat). Maybe you can test if it works for you.\n>\n> —\n> Reply to this email directly or view it on GitHub \n> <https://github.com/heron-mc/heron-mc/pull/433#issuecomment-148916399>.\n>\n\n"}}