Fix routing regression when altering req.method