Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
splitice committed Oct 1, 2024
1 parent ce88dc5 commit 9203133
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ var extname = path.extname;
var resolve = path.resolve;
var vary = require('vary');

const charsetRegExp = /;\s*charset\s*=/;

const DefaultType = 'text/plain'

var ExtMap = {
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"api"
],
"dependencies": {
"body-parser": "^2.0.1",
"body-parser": "git+https://github.com/HalleyAssist/body-parser.git",
"content-disposition": "^1.0.0",
"content-type": "~1.0.4",
"cookie": "0.6.0",
Expand All @@ -51,8 +51,7 @@
"range-parser": "~1.2.1",
"router": "^2.0.0",
"safe-buffer": "5.2.1",
"send": "^1.1.0",
"serve-static": "^2.1.0",
"serve-static": "git+https://github.com/HalleyAssist/serve-static.git",
"setprototypeof": "1.2.0",
"statuses": "2.0.1",
"utils-merge": "1.0.1",
Expand Down

0 comments on commit 9203133

Please sign in to comment.