Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 Enable autoreferer

closed
nobody
None
5
2008-04-23
2007-07-11
Anonymous
No

Hello:

The following patch enables AUTOREFERER support. The diff is against pycurl-7.16.4 released on 11 July 2007. Please note that formatting is screwed, but patch gives you an idea.

--- pycurl.c 2007-07-11 13:31:07.000000000 -0400
+++ pycurl-new.c 2007-07-11 18:11:47.000000000 -0400
@@ -3474,6 +3474,7 @@
insint_c(d, "FTPAPPEND", CURLOPT_FTPAPPEND);
insint_c(d, "NETRC", CURLOPT_NETRC);
insint_c(d, "FOLLOWLOCATION", CURLOPT_FOLLOWLOCATION);
+ insint_c(d, "AUTOREFERER", CURLOPT_AUTOREFERER);
insint_c(d, "TRANSFERTEXT", CURLOPT_TRANSFERTEXT);
insint_c(d, "PUT", CURLOPT_PUT);
insint_c(d, "POSTFIELDSIZE", CURLOPT_POSTFIELDSIZE_LARGE); /* _LARGE ! */

Discussion

  • Logged In: YES
    user_id=5685
    Originator: NO

    Fixed in cvs.

     
    • status: open --> closed