Hi,
I know this is confusing! I'm still working on the documentation. The options is 'proxyuserpwd', same way as in libcurl:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXYUSERPWD.
--
Hans
On Sunday, November 18, 2012 at 7:14 PM, alpheus wrote:
> I've seen various ways of specifying a proxy username and password mentioned on here and elsewhere, but can't get any of them to work. This is what I currently have:
>
> request = Typhoeus::Request.new(page.url,
> :followlocation => true,
> :proxy => proxy.server,
> :proxy_auth => {:username => "alpheus", :password => "XXX" },
> :timeout => 10000,
> :headers => {
> 'User-Agent' => "Internet Explorer 9.0",
> })
>
>
> I've also tried proxy_username => and proxyusername =>, neither of which work. What is the correct syntax?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups "Typhoeus" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/typhoeus/-/df1Nfnzg1FcJ.
> To post to this group, send email to
typh...@googlegroups.com (mailto:
typh...@googlegroups.com).
> To unsubscribe from this group, send email to
typhoeus+u...@googlegroups.com (mailto:
typhoeus+u...@googlegroups.com).
> For more options, visit this group at
http://groups.google.com/group/typhoeus?hl=en.