def method_not_allowed(environ, start_response):
    """Default WSGI 405 app."""
    start_response('405 Method Not Allowed', [('Allow', ', '.join(environ[
        'selector.methods'])), ('Content-Type', 'text/plain')])
    return [
        """405 Method Not Allowed

The method specified in the Request-Line is not allowed for the resource identified by the Request-URI."""
        ]
