Sometimes ParseMultipartForm succeded, but r.MultiPartForm was still nil. Catch this case. Move Content-Disposition header to as late as possible