Skip to content

The echttp client does not handle well responses when the Content-Length attribute is all lowercase #1

@pascal-fb-martin

Description

@pascal-fb-martin

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.)

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions