rewrite http-push