Node.js: Why does post request w/ png have content-length header value that is smaller than the actual file size?
<p>I'm making a post request to a local node.js server. The post request contains a .png file that is 2.6 kB. The post request is issued using curl:</p>

<p><code>curl -v -X POST -H "Content-Type: image/png" -d @node.png http://localhost:3000</code></p>

<p>The request output of the curl command is:</p>

<p><code>POST / HTTP/1.1
 User-Agent: curl/7.38.0
 Host: localhost:3000
 Accept: */*
 Content-Type: image/png
 Content-Length: 1328
 Expect: 100-continue
</code></p>

<p>Note that the Content-Length header is showing up as 1328 Bytes which is about half of the actual file size being posted. The content-length should be around 2.6 kB, correct? Thanks for your help!</p>