Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1697

Show
Ignore:
Timestamp:
07/10/07 01:08:39
Author:
fumanchu
Message:

Fix for #704 (content-type in simple_response).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/wsgiserver/__init__.py

    r1693 r1697  
    410410        status = str(status) 
    411411        buf = ["%s %s\r\n" % (self.environ['ACTUAL_SERVER_PROTOCOL'], status), 
    412                "Content-Length: %s\r\n" % len(msg)] 
     412               "Content-Length: %s\r\n" % len(msg), 
     413               "Content-Type: text/plain\r\n"] 
    413414         
    414415        if status[:3] == "413" and self.response_protocol == 'HTTP/1.1': 

Hosted by WebFaction

Log in as guest/cpguest to create tickets