Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (11 sloc) 430 Bytes
from base import *
FILE = '216 foo bar.txt'
MAGIC = '<a href="">Alvaro</a>'
class Test (TestBase):
def __init__ (self):
TestBase.__init__ (self, __file__) = "Space in file name"
self.expected_error = 200
self.request = "GET /%s HTTP/1.0\r\n" % (FILE.replace(' ', '%20'))
def Prepare (self, www):
self.WriteFile (www, FILE, 0444, MAGIC)
Jump to Line
Something went wrong with that request. Please try again.