cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl and transparent proxies (e.g. Squid)

From: David Colter <dolan2go_at_yahoo.com>
Date: Wed, 2 Jul 2014 12:28:47 -0400

Gerd,

> > GET http://www.heise.de/newsticker/ HTTP/1.1
> > User-Agent: curl/7.29.0
> > Host: www.heise.de
> > Accept: */*
> > Proxy-Connection: Keep-Alive

Have you tried to 'mimic' what the browser sends for User-Agent and Header (Accept)?

http://curl.haxx.se/docs/manpage.html#-A has info about how to send a specific user agent, and within it, a link within with take you to the -H or --header documentation.

This may not solve the final issue. Maybe it will present the solution for you.

David

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-02