Skip to content

content-length header #52

@spideron

Description

@spideron

The content length header is not set to the correct data length when using non standard characters such as letters with accent. The calculation of the data length should be Buffer.byteLength(data || "", 'utf8') instead of (data || "").length

https://github.com/balanced/balanced-node/blob/v0.3.3/lib/nbalanced/utility.js#L92

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions