www.google.com happens to return the data length as "content-length", while echttp expects "Content-Length". In this case echttp invokes the client callback, but apparently without the data returned by the server. Note that attribute keys are supposed not to be case sensitive.
(wget also seems to be confused: it indicates "length unspecified", but still retrieve the returned data.)
www.google.com happens to return the data length as "content-length", while echttp expects "Content-Length". In this case echttp invokes the client callback, but apparently without the data returned by the server. Note that attribute keys are supposed not to be case sensitive.
(wget also seems to be confused: it indicates "length unspecified", but still retrieve the returned data.)