Adding request handling in Http