'L{Request} handles any non-OPTIONS verb requesting the * path by doing
a fast-return 405 Method Not Allowed, indicating only the support for
OPTIONS.'

def test_rejectNonOPTIONSStar(self):

    d = DummyChannel()
    request = server.Request(d, 1)
    request.setHost('example.com', 80)
    request.gotLength(0)
    request.requestReceived('GET', '*', 'HTTP/1.1')
    response = d.transport.written.getvalue()
    self.assertTrue(response.startswith('HTTP/1.1    405    Method    Not    Allowed'))
    self.assertIn('Content-Length:    0\r\n', response)
    self.assertIn('Allow:    OPTIONS\r\n', response)
