Say no to blindingly sending text/plain!
authorGeoffrey Sneddon <geoffers@gmail.com>
Wed May 28 12:30:18 2008 +0100 (2008-05-28)
changeset 110dc816eb2bc3a
parent 109 c59f44a193e1
child 111 a4562954f835
Say no to blindingly sending text/plain!
tests/response/response.py
     1.1 --- a/tests/response/response.py	Wed May 28 11:34:11 2008 +0100
     1.2 +++ b/tests/response/response.py	Wed May 28 12:30:18 2008 +0100
     1.3 @@ -85,7 +85,7 @@
     1.4  			elif self.path == "/runtests.css":
     1.5  				self.send_header("Content-type", "text/css;charset=utf-8")
     1.6  			else:
     1.7 -				self.send_header("Content-type", "text/plain")
     1.8 +				self.send_header("Content-type", "application/octet-stream")
     1.9  			fs = os.fstat(f.fileno())
    1.10  			self.send_header("Content-Length", str(fs[6]))
    1.11  			self.send_header("Last-Modified", self.date_time_string(fs.st_mtime))