[BUGFIX] Fix http_request2 and add test to verify that.