Well it depends on the protocol, I assume you're talking HTTP? Then for the most part, it is just sending the contents of the file.