add http_post_enable function