Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (14 sloc) 0.505 kb
# -*- coding: utf-8 -*-
from base import *
DIR = "colon-utf8-1"
FILE = "a農:b園c"
class Test (TestBase):
def __init__ (self):
TestBase.__init__ (self, __file__)
self.name = "UTF8 file with colon"
self.request = "GET /%s/ HTTP/1.0\r\n" % (DIR)
self.expected_error = 200
self.expected_content = 'href="%s"' %(FILE.replace(':','%3a'))
def Prepare (self, www):
d = self.Mkdir (www, DIR)
self.WriteFile (d, FILE, 0444, "foo")
Jump to Line
Something went wrong with that request. Please try again.