added method and response to the http object