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