         server = HttpServer()
         server["1/requestToken"] = { request in
             guard request.method == "POST" else {
-                return HttpResponse.BadRequest
+                return .BadRequest(.Text("Method must be POST"))
             }
             // TODO check request.headers["authorization"] for consumer key, etc...
             

            }
            
        }
        server["2/authorize"] = {
            return HttpResponse.OK(HttpResponseBody.Html("You asked for " + $0.url))
        }
        server["2/expire"] = { request in
            return HttpResponse.RAW(401, "Unauthorized",["WWW-Authenticate": "Bearer realm=\"example\",error=\"invalid_token\",error_description=\"The access token expired\""], nil)

        
        server["2/accessToken"] = { request in
            guard request.method == "POST" else {
                return .BadRequest(.Text("Method must be POST"))
            }
            /*guard let autho = request.headers["authorization"] where autho == "Beared" else {
                return HttpResponse.BadRequest
