Adding contentType kwargs to sendFile(), in case user wants to provide its own contentType
Adding _error to Request.
StackTrace is now optional
Adding a getter and setter for statusCode
Fix typo and add errorCode getter
Now sendJSON() only accept Map or List
throw Http500 if template not exists
Adding a basic example
Adding default error handler for View. If there's an error, send it back to server
Adding method to WebSocketRequest
Minor changes. Doesn't matter.
Route now is an abstract class, the Route before now is NormalRoute, and for errror is ErrorRoute.
Delete defaultHandler from Router.
Adding error handler in Router.
Request now can contain information about error and stackTrace.
Override toString(), so if Request contains error, should display it instead just 'instance of "Request"'.
Minor refactoring