• Chris McDonough's avatar
    We don't need to do any real input processing if we are handling a PUT request... · 356b4f3b
    Chris McDonough authored
    We don't need to do any real input processing if we are handling a PUT request because in practice, the body is never mime-encoded.  This is an optimization especially because FieldStorage creates an additional tempfile if we allow it to parse the body, and PUT uploads can tend to be large.
    
    In particular, this will be important for upload of large blobs.
    
    356b4f3b
HTTPRequest.py 61.7 KB