use buffer protocol in WSGI response