Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying custom Curl options in curl_options config parameter #136

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hackel
Copy link

@hackel hackel commented Jul 9, 2015

Also added error handling for Curl failures. Still need to add this to documentation if approved. I did this because I wanted to use a proxy server when adding an attachment by URL. It is very straightforward: Example config file (stapler.php):

    'curl_options' => [
        CURLOPT_PROXY => '127.0.0.1:3128',
        CURLOPT_SSL_VERIFYHOST => false,
    ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant