Can't parse get type request

As [grunt-contrib-connect](https://www.npmjs.org/package/grunt-contrib-connect) middleware, it can't parse a request with some parameters, like a get type request. And I fixed it, please review.