Partial implementation of http response and request