HTTP File Upload Internals and Encodings Explained
HTTP uploads place data in the request body. How that body is encoded depends on the Content-Type chosen by the client (usually a browser). File inputs in forms are transmitted using multipart/form-data; simple text-only forms often use application/x-www-form-urlencoded. A request’s start-line and h...