cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-806187 ] CURLOPT_REFERER

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 14 Sep 2003 14:16:29 -0700

Bugs item #806187, was opened at 2003-09-14 21:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=806187&group_id=976

Category: http
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Rouslan Grabar (russ777)
Assigned to: Daniel Stenberg (bagder)
Summary: CURLOPT_REFERER

Initial Comment:
// using libcurl curl-7.10.7

//

//m_pParams->pszUrl contains target url

//m_pParams->pszRefUrl contains referrer url

m_LastError = curl_easy_setopt(m_curl, CURLOPT_URL, m_pParams->pszUrl);

m_LastError = curl_easy_setopt(m_curl, CURLOPT_REFERER, m_pParams->pszRefUrl);

m_LastError = curl_easy_perform(m_curl);

/*

when I do "perform" and check out headers sent to the remote server I see the target URL being assigned to the the header "Referer:". m_LastError is always CURLE_OK

*/

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=806187&group_id=976

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-14