Roundup Tracker - Issues

Message6568

Author rouilj
Recipients rouilj, schlatterbeck
Date 2019-06-27.02:00:52
Message-id <1561600852.65.0.720644265499.issue2551047@roundup.psfhosted.org>
In-reply-to
Hi Ralf:

I have been playing around with gunicorn and the following wsgi 
wrapper:

===
import sys
sys.path.append('/path/to/roundup/hg/checkout/directory')

# 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 127.0.0.1:8917 -
-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/wsgi_handler.py:RequestDispatcher::__call__
as options is a valid method for the rest call.

-- rouilj
History
Date User Action Args
2019-06-27 02:00:52rouiljsetmessageid: <1561600852.65.0.720644265499.issue2551047@roundup.psfhosted.org>
2019-06-27 02:00:52rouiljsetrecipients: + rouilj, schlatterbeck
2019-06-27 02:00:52rouiljlinkissue2551047 messages
2019-06-27 02:00:52rouiljcreate