add http_accept check