rewrite simple_http