I am making a custom http uploader, i am having trouble understanding the content length , it looks like its filesize + something, does anyone know what is it?
This is a discussion on Content-Length with multipart/form-data; within the Networking/Device Communication forums, part of the General Programming Boards category; I am making a custom http uploader, i am having trouble understanding the content length , it looks like its ...
I am making a custom http uploader, i am having trouble understanding the content length , it looks like its filesize + something, does anyone know what is it?
Off hand, no. It might have to do with other data or meta data that HTTP requires, such as the place on the server you're going to store the file, it's content type, etc. The RFC is always a good place to look: http://www.ietf.org/rfc/rfc2616.txt. Googling "http content-length for file uploading" turned up this site, amongst others.