Skip to content

err.headers standardization #27

@jonathanong

Description

@jonathanong

koajs/koa#668

not sure how we can standardize this... last thing i want is for other people to use a different property name. also want all the text casing to be the same so people don't do:

err.headers = {
  'content-type': 'text',
  'Content-Type': 'application/json',
}

maybe set .headers = {} by default?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions