express-json
Version:
A middleware for Express that sets Content-Type to text/plain if Accept header doesn't contain application/json.
12 lines (11 loc) • 300 B
JSON
A middleware for Express that sets Content-Type to text/plain if Accept header doesn't contain application/json.