[Checkins] [zopefoundation/zope.server] 4df1b4: Improve adherence to the WSGI spec.

GitHub noreply at github.com
Thu Mar 14 01:14:08 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.server
  Commit: 4df1b402790358815fba9d300a9b9a153ca419b3
      https://github.com/zopefoundation/zope.server/commit/4df1b402790358815fba9d300a9b9a153ca419b3
  Author: Patrick Strawderman <patrick at kilink.net>
  Date:   2013-03-13 (Wed, 13 Mar 2013)

  Changed paths:
    M setup.py
    M src/zope/server/http/httptask.py
    M src/zope/server/http/tests/test_wsgiserver.py
    M src/zope/server/http/wsgihttpserver.py

  Log Message:
  -----------
  Improve adherence to the WSGI spec.

- Call close method if present on iterables returned by start_response.
- Don't include non-string values in the CGI environment.
- Always include QUERY_STRING to avoid the cgi module falling back to
  sys.argv.
- Add tests based on paste.lint middleware.


  Commit: 49fb5ba5b50135f8f33f6ae87e3abc5dcd4871b3
      https://github.com/zopefoundation/zope.server/commit/49fb5ba5b50135f8f33f6ae87e3abc5dcd4871b3
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2013-03-13 (Wed, 13 Mar 2013)

  Changed paths:
    M setup.py
    M src/zope/server/http/httptask.py
    M src/zope/server/http/tests/test_wsgiserver.py
    M src/zope/server/http/wsgihttpserver.py

  Log Message:
  -----------
  Merge pull request #1 from zopefoundation/kilink-wsgi-compliance

Improve compliance to the WSGI spec.


Compare: https://github.com/zopefoundation/zope.server/compare/85e4f299785f...49fb5ba5b501


More information about the checkins mailing list