{"action":"created","issue":{"url":"https://api.github.com/repos/typhoeus/typhoeus/issues/477","labels_url":"https://api.github.com/repos/typhoeus/typhoeus/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/typhoeus/typhoeus/issues/477/comments","events_url":"https://api.github.com/repos/typhoeus/typhoeus/issues/477/events","html_url":"https://github.com/typhoeus/typhoeus/issues/477","id":107639318,"number":477,"title":"Empty Response and Response Code","user":{"login":"TigerWolf","id":501033,"avatar_url":"https://avatars.githubusercontent.com/u/501033?v=3","gravatar_id":"","url":"https://api.github.com/users/TigerWolf","html_url":"https://github.com/TigerWolf","followers_url":"https://api.github.com/users/TigerWolf/followers","following_url":"https://api.github.com/users/TigerWolf/following{/other_user}","gists_url":"https://api.github.com/users/TigerWolf/gists{/gist_id}","starred_url":"https://api.github.com/users/TigerWolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TigerWolf/subscriptions","organizations_url":"https://api.github.com/users/TigerWolf/orgs","repos_url":"https://api.github.com/users/TigerWolf/repos","events_url":"https://api.github.com/users/TigerWolf/events{/privacy}","received_events_url":"https://api.github.com/users/TigerWolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-22T03:33:12Z","updated_at":"2015-09-30T19:04:21Z","closed_at":null,"body":"I have some code that makes a request, the first request succeeds and then all subsequent requests return an empty result. \r\n\r\nFor example:\r\n`Typhoeus.get(\"http://google.com\")`\r\n\r\n```\r\nI, [2015-09-22T12:56:42.897665 #27282]  INFO -- : Started GET \"/v1/library/account\" for 0.0.0.0 at 2015-09-22 12:56:42 +0930\r\nD, [2015-09-22T12:56:43.176139 #27282] DEBUG -- : ETHON: Libcurl initialized\r\nD, [2015-09-22T12:56:44.308576 #27282] DEBUG -- : ETHON: performed EASY effective_url=https://theurlwashere.com response_code=200 return_code=ok total_time=1.1307260000000001\r\n```\r\n\r\n```\r\nI, [2015-09-22T12:56:58.387636 #27282]  INFO -- : Started GET \"/v1/library/account\" for 0.0.0.0 at 2015-09-22 12:56:58 +0930\r\nD, [2015-09-22T12:56:58.883898 #27282] DEBUG -- : ETHON: performed EASY effective_url=https://theurlwashere.com response_code=0 return_code=ssl_cacert total_time=0.0\r\n```\r\n\r\nI thought it might have been caching so I added a UUID to the url as a parameter, but this did not fix the problem. \r\n\r\nThis is a server (uat), so after every deploy it works once. My local environment works without this problem.\r\n"},"comment":{"url":"https://api.github.com/repos/typhoeus/typhoeus/issues/comments/144508531","html_url":"https://github.com/typhoeus/typhoeus/issues/477#issuecomment-144508531","issue_url":"https://api.github.com/repos/typhoeus/typhoeus/issues/477","id":144508531,"user":{"login":"nicolasgarnil","id":482435,"avatar_url":"https://avatars.githubusercontent.com/u/482435?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasgarnil","html_url":"https://github.com/nicolasgarnil","followers_url":"https://api.github.com/users/nicolasgarnil/followers","following_url":"https://api.github.com/users/nicolasgarnil/following{/other_user}","gists_url":"https://api.github.com/users/nicolasgarnil/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasgarnil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasgarnil/subscriptions","organizations_url":"https://api.github.com/users/nicolasgarnil/orgs","repos_url":"https://api.github.com/users/nicolasgarnil/repos","events_url":"https://api.github.com/users/nicolasgarnil/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasgarnil/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T19:04:21Z","updated_at":"2015-09-30T19:04:21Z","body":"This is probably because you have a configured a cache strategy and Typhoeus is caching the request.\r\n\r\nI'm having the same problem but the request is a POST request which should be not cached by Typhoeus. \r\n\r\nAny thoughts?"}}