Controlling Http request and response [refs #3]