Added asserts for GET, PUT and DELETE routes
Fixed whitespacing
Merge pull request #4 from thul/fix/assert

Added asserts for GET, PUT and DELETE routes