fix a mistake in http_request