• Barry Warsaw's avatar
    FieldStorage.__init__(): if there is no content-type header, use · 302331a3
    Barry Warsaw yazdı
    text/plain for inner parts, but application/x-www-form-urlencoded
    for outer parts.  Honor any existing content-type header.
    
    Lower down, if the content-type header is something we don't
    understand (say because it there was a typo in the header coming from
    the client), default to text/plain for inner parts, but
    application/x-www-form-urlencoded for outer parts.
    302331a3
cgi.py 46.5 KB