more test code for http
more impl for http