# HG changeset patch # User cavaliet # Date 1335959137 -7200 # Node ID dff31c10f75124f2b4b3659a4606c9398af682fb # Parent 20d1e46920dc1bcc86c74f1d502a384ea2bcfa0c update readme with curl options diff -r 20d1e46920dc -r dff31c10f751 README.md --- a/README.md Wed Apr 11 12:17:38 2012 +0200 +++ b/README.md Wed May 02 13:45:37 2012 +0200 @@ -199,6 +199,19 @@ ... ignore_wikipedia_error: true +## More configuration 4 : curl parameters +This option enables to add any parameter to the curl requests, since the wikipedia request are made from the server. For example, it is useful when the server is behind a firewall. + + wiki_tag: + ... + curl_options: + CURLOPT_HTTPPROXYTUNNEL: 'TRUE' + CURLOPT_PROXYAUTH: 'CURLAUTH_NTLM' + CURLOPT_USERAGENT: 'Mozilla/5.0 Gecko/20100101 Firefox/10.0.1' + CURLOPT_PROXY: 'my.proxy.url:1234' + CURLOPT_PROXYUSERPWD: 'MY-DOMAIN\user:password' + CURLOPT_PROXYTYPE: 'CURLPROXY_HTTP' + ## Services ### Document Service : wiki_tag.document - IRI\Bundle\WikiTagBundle\Services\DocumentService