paralogiki/laracast-download — pull request #2 by david-treblig (2014-07-25 21:37:26+00:00)
Title: Adding GET to the curl options after the session is handled

One of the main issue was that the GET request was expected to handle the downloads and other requests (to allow being redirected to vimeo, for example) but the POST was expected for the sessions. I just messed with the order of the declarations and put my "curl_setop get" on line line #177.

I also added set_time_limit just to be sure and the timeouts curl options as well.