Skip to content

Set default charset for resp.send() #34

@onebytegone

Description

@onebytegone

lambda-express automatically sets the charset to utf-8 for JSON responses, but does not do so for text responses. Looking at behavior of send in express, the charset will be set for string responses (added in expressjs/express#f14e39d4).

This issue is to investigate making the charset behavior of lambda-express to be more inline with that of express.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions