Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 369 Bytes
from base import *
class Test (TestBase):
def __init__ (self):
TestBase.__init__ (self, __file__)
self.name = "OPTIONS *"
self.request = "OPTIONS * HTTP/1.0\r\n" % (globals())
self.expected_error = 200
self.expected_content = ["Content-Length: 0"]
self.forbidden_content = ["Bad Request"]