Roundup Tracker - Issues


Author rouilj
Recipients rouilj, schlatterbeck
Date 2019-06-27.02:00:52
Message-id <>
Hi Ralf:

I have been playing around with gunicorn and the following wsgi 

import sys

# obtain the WSGI request dispatcher                                            
from roundup.cgi.wsgi_handler import RequestDispatcher
tracker_home = 'demo'

def app(environ, start_response):
    RequestDispatcher(tracker_home)(environ, start_response)

I invoke it as:

  SCRIPT_NAME=/sysadmin /usr/local/bin/gunicorn --bind -
-log-file=- --timeout=10 wsgi:app

(it is accessed as /sysadmin under my http server).

I am having issues with chrome:

 .../sysadmin/issue188 net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)

are you seeing anything similar where the web page displays fully but 
seems to keep trying to download?

Also do we need to remove:

          if environ ['REQUEST_METHOD'] == 'OPTIONS':
            code = 501

from roundup/cgi/
as options is a valid method for the rest call.

-- rouilj
Date User Action Args
2019-06-27 02:00:52rouiljsetmessageid: <>
2019-06-27 02:00:52rouiljsetrecipients: + rouilj, schlatterbeck
2019-06-27 02:00:52rouiljlinkissue2551047 messages
2019-06-27 02:00:52rouiljcreate