Skip to content

Commit

Permalink
Allow internal requests for GET. Close #12
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Ritouet committed Jul 28, 2014
1 parent 0e101f5 commit 9fbc220
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ Fileupload.prototype.handle = function (ctx, next) {
});
return req.resume();
} else if (req.method === "GET") {
if (ctx.res.internal) return next(); // This definitely has to be HTTP.

if (this.events.get) {
this.events.get.run(ctx, domain, function(err) {
Expand Down

0 comments on commit 9fbc220

Please sign in to comment.