fixed no response in test case of curl.