Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
CURL Options and Versions
CURL_OPT VERSION LIBCURL_VERSION_NUM URL
CURLOPT_ABSTRACT_UNIX_SOCKET 7.53.0 0x073500 http://curl.haxx.se/libcurl/c/CURLOPT_ABSTRACT_UNIX_SOCKET.html
CURLOPT_ACCEPTTIMEOUT_MS 7.24.0 0x071800 http://curl.haxx.se/libcurl/c/CURLOPT_ACCEPTTIMEOUT_MS.html
CURLOPT_ACCEPT_ENCODING 7.21.6 0x071506 http://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html
CURLOPT_ADDRESS_SCOPE 7.19.0 0x071300 http://curl.haxx.se/libcurl/c/CURLOPT_ADDRESS_SCOPE.html
CURLOPT_APPEND 7.16.4 0x071004 http://curl.haxx.se/libcurl/c/CURLOPT_APPEND.html
CURLOPT_BUFFERSIZE 7.53.0 0x073500 http://curl.haxx.se/libcurl/c/CURLOPT_BUFFERSIZE.html
CURLOPT_CHUNK_BGN_FUNCTION 7.21.0 0x071500 http://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_BGN_FUNCTION.html
CURLOPT_CHUNK_DATA 7.21.0 0x071500 http://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_DATA.html
CURLOPT_CHUNK_END_FUNCTION 7.21.0 0x071500 http://curl.haxx.se/libcurl/c/CURLOPT_CHUNK_END_FUNCTION.html
CURLOPT_CLOSESOCKETDATA 7.21.7 0x071507 http://curl.haxx.se/libcurl/c/CURLOPT_CLOSESOCKETDATA.html
CURLOPT_CLOSESOCKETFUNCTION 7.21.7 0x071507 http://curl.haxx.se/libcurl/c/CURLOPT_CLOSESOCKETFUNCTION.html
CURLOPT_CONNECT_ONLY 7.15.2 0x070f02 http://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_ONLY.html
CURLOPT_CONNECT_TO 7.49.0 0x073100 http://curl.haxx.se/libcurl/c/CURLOPT_CONNECT_TO.html
CURLOPT_COOKIELIST 7.14.1 0x070e01 http://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html
CURLOPT_COPYPOSTFIELDS 7.17.1 0x071101 http://curl.haxx.se/libcurl/c/CURLOPT_COPYPOSTFIELDS.html
CURLOPT_CRLF 7.40.0 0x072800 http://curl.haxx.se/libcurl/c/CURLOPT_CRLF.html
CURLOPT_CRLFILE 7.19.0 0x071300 http://curl.haxx.se/libcurl/c/CURLOPT_CRLFILE.html
CURLOPT_CUSTOMREQUEST 7.30.0 0x071e00 http://curl.haxx.se/libcurl/c/CURLOPT_CUSTOMREQUEST.html
CURLOPT_DEFAULT_PROTOCOL 7.45.0 0x072d00 http://curl.haxx.se/libcurl/c/CURLOPT_DEFAULT_PROTOCOL.html
CURLOPT_DIRLISTONLY 7.16.4 0x071004 http://curl.haxx.se/libcurl/c/CURLOPT_DIRLISTONLY.html
CURLOPT_DNS_INTERFACE 7.33.0 0x072100 http://curl.haxx.se/libcurl/c/CURLOPT_DNS_INTERFACE.html
CURLOPT_DNS_LOCAL_IP4 7.33.0 0x072100 http://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP4.html
CURLOPT_DNS_LOCAL_IP6 7.33.0 0x072100 http://curl.haxx.se/libcurl/c/CURLOPT_DNS_LOCAL_IP6.html
CURLOPT_DNS_SERVERS 7.24.0 0x071800 http://curl.haxx.se/libcurl/c/CURLOPT_DNS_SERVERS.html
CURLOPT_EXPECT_100_TIMEOUT_MS 7.36.0 0x072400 http://curl.haxx.se/libcurl/c/CURLOPT_EXPECT_100_TIMEOUT_MS.html
CURLOPT_FILETIME 7.49.0 0x073100 http://curl.haxx.se/libcurl/c/CURLOPT_FILETIME.html
CURLOPT_FNMATCH_DATA 7.21.0 0x071500 http://curl.haxx.se/libcurl/c/CURLOPT_FNMATCH_DATA.html
CURLOPT_FNMATCH_FUNCTION 7.21.0 0x071500 http://curl.haxx.se/libcurl/c/CURLOPT_FNMATCH_FUNCTION.html
CURLOPT_FTPPORT 7.19.5 0x071305 http://curl.haxx.se/libcurl/c/CURLOPT_FTPPORT.html
CURLOPT_FTPSSLAUTH 7.12.2 0x070c02 http://curl.haxx.se/libcurl/c/CURLOPT_FTPSSLAUTH.html
CURLOPT_FTP_ACCOUNT 7.13.0 0x070d00 http://curl.haxx.se/libcurl/c/CURLOPT_FTP_ACCOUNT.html
CURLOPT_FTP_ALTERNATIVE_TO_USER 7.15.5 0x070f05 http://curl.haxx.se/libcurl/c/CURLOPT_FTP_ALTERNATIVE_TO_USER.html
CURLOPT_FTP_CREATE_MISSING_DIRS 7.10.7 0x070a07 http://curl.haxx.se/libcurl/c/CURLOPT_FTP_CREATE_MISSING_DIRS.html
CURLOPT_FTP_FILEMETHOD 7.15.1 0x070f01 http://curl.haxx.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html
CURLOPT_FTP_RESPONSE_TIMEOUT 7.10.8 0x070a08 http://curl.haxx.se/libcurl/c/CURLOPT_FTP_RESPONSE_TIMEOUT.html
CURLOPT_FTP_SKIP_PASV_IP 7.14.2 0x070e02 http://curl.haxx.se/libcurl/c/CURLOPT_FTP_SKIP_PASV_IP.html
CURLOPT_FTP_SSL_CCC 7.16.1 0x071001 http://curl.haxx.se/libcurl/c/CURLOPT_FTP_SSL_CCC.html
CURLOPT_FTP_USE_EPRT 7.10.5 0x070a05 http://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_EPRT.html
CURLOPT_FTP_USE_PRET 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_FTP_USE_PRET.html
CURLOPT_GSSAPI_DELEGATION 7.22.0 0x071600 http://curl.haxx.se/libcurl/c/CURLOPT_GSSAPI_DELEGATION.html
CURLOPT_HEADEROPT 7.37.0 0x072500 http://curl.haxx.se/libcurl/c/CURLOPT_HEADEROPT.html
CURLOPT_HTTP200ALIASES 7.10.3 0x070a03 http://curl.haxx.se/libcurl/c/CURLOPT_HTTP200ALIASES.html
CURLOPT_HTTPAUTH 7.10.6 0x070a06 http://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html
CURLOPT_HTTP_CONTENT_DECODING 7.16.2 0x071002 http://curl.haxx.se/libcurl/c/CURLOPT_HTTP_CONTENT_DECODING.html
CURLOPT_HTTP_TRANSFER_DECODING 7.16.2 0x071002 http://curl.haxx.se/libcurl/c/CURLOPT_HTTP_TRANSFER_DECODING.html
CURLOPT_IGNORE_CONTENT_LENGTH 7.14.1 0x070e01 http://curl.haxx.se/libcurl/c/CURLOPT_IGNORE_CONTENT_LENGTH.html
CURLOPT_INFILESIZE 7.23.0 0x071700 http://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE.html
CURLOPT_INFILESIZE_LARGE 7.23.0 0x071700 http://curl.haxx.se/libcurl/c/CURLOPT_INFILESIZE_LARGE.html
CURLOPT_INTERFACE 7.24.0 0x071800 http://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html
CURLOPT_INTERLEAVEDATA 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_INTERLEAVEDATA.html
CURLOPT_INTERLEAVEFUNCTION 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_INTERLEAVEFUNCTION.html
CURLOPT_IOCTLDATA 7.12.3 0x070c03 http://curl.haxx.se/libcurl/c/CURLOPT_IOCTLDATA.html
CURLOPT_IOCTLFUNCTION 7.12.3 0x070c03 http://curl.haxx.se/libcurl/c/CURLOPT_IOCTLFUNCTION.html
CURLOPT_KEEP_SENDING_ON_ERROR 7.51.0 0x073300 http://curl.haxx.se/libcurl/c/CURLOPT_KEEP_SENDING_ON_ERROR.html
CURLOPT_KEYPASSWD 7.16.4 0x071004 http://curl.haxx.se/libcurl/c/CURLOPT_KEYPASSWD.html
CURLOPT_KRBLEVEL 7.16.3 0x071003 http://curl.haxx.se/libcurl/c/CURLOPT_KRBLEVEL.html
CURLOPT_LOCALPORT 7.15.2 0x070f02 http://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORT.html
CURLOPT_LOCALPORTRANGE 7.15.2 0x070f02 http://curl.haxx.se/libcurl/c/CURLOPT_LOCALPORTRANGE.html
CURLOPT_LOGIN_OPTIONS 7.34.0 0x072200 http://curl.haxx.se/libcurl/c/CURLOPT_LOGIN_OPTIONS.html
CURLOPT_MAIL_AUTH 7.25.0 0x071900 http://curl.haxx.se/libcurl/c/CURLOPT_MAIL_AUTH.html
CURLOPT_MAIL_FROM 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_MAIL_FROM.html
CURLOPT_MAIL_RCPT 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_MAIL_RCPT.html
CURLOPT_MAXFILESIZE_LARGE 7.11.0 0x070b00 http://curl.haxx.se/libcurl/c/CURLOPT_MAXFILESIZE_LARGE.html
CURLOPT_MAX_RECV_SPEED_LARGE 7.15.5 0x070f05 http://curl.haxx.se/libcurl/c/CURLOPT_MAX_RECV_SPEED_LARGE.html
CURLOPT_MAX_SEND_SPEED_LARGE 7.15.5 0x070f05 http://curl.haxx.se/libcurl/c/CURLOPT_MAX_SEND_SPEED_LARGE.html
CURLOPT_NETRC_FILE 7.10.9 0x070a09 http://curl.haxx.se/libcurl/c/CURLOPT_NETRC_FILE.html
CURLOPT_NEW_DIRECTORY_PERMS 7.16.4 0x071004 http://curl.haxx.se/libcurl/c/CURLOPT_NEW_DIRECTORY_PERMS.html
CURLOPT_NEW_FILE_PERMS 7.16.4 0x071004 http://curl.haxx.se/libcurl/c/CURLOPT_NEW_FILE_PERMS.html
CURLOPT_NOPROXY 7.19.4 0x071304 http://curl.haxx.se/libcurl/c/CURLOPT_NOPROXY.html
CURLOPT_OPENSOCKETDATA 7.17.1 0x071101 http://curl.haxx.se/libcurl/c/CURLOPT_OPENSOCKETDATA.html
CURLOPT_OPENSOCKETFUNCTION 7.17.1 0x071101 http://curl.haxx.se/libcurl/c/CURLOPT_OPENSOCKETFUNCTION.html
CURLOPT_PASSWORD 7.19.1 0x071301 http://curl.haxx.se/libcurl/c/CURLOPT_PASSWORD.html
CURLOPT_PATH_AS_IS 7.42.0 0x072a00 http://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html
CURLOPT_PINNEDPUBLICKEY 7.39.0 0x072700 http://curl.haxx.se/libcurl/c/CURLOPT_PINNEDPUBLICKEY.html
CURLOPT_PIPEWAIT 7.43.0 0x072b00 http://curl.haxx.se/libcurl/c/CURLOPT_PIPEWAIT.html
CURLOPT_POSTREDIR 7.17.1 0x071101 http://curl.haxx.se/libcurl/c/CURLOPT_POSTREDIR.html
CURLOPT_PRE_PROXY 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PRE_PROXY.html
CURLOPT_PRIVATE 7.10.3 0x070a03 http://curl.haxx.se/libcurl/c/CURLOPT_PRIVATE.html
CURLOPT_PROTOCOLS 7.19.4 0x071304 http://curl.haxx.se/libcurl/c/CURLOPT_PROTOCOLS.html
CURLOPT_PROXY 7.14.1 0x070e01 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html
CURLOPT_PROXYAUTH 7.10.7 0x070a07 http://curl.haxx.se/libcurl/c/CURLOPT_PROXYAUTH.html
CURLOPT_PROXYHEADER 7.37.0 0x072500 http://curl.haxx.se/libcurl/c/CURLOPT_PROXYHEADER.html
CURLOPT_PROXYPASSWORD 7.19.1 0x071301 http://curl.haxx.se/libcurl/c/CURLOPT_PROXYPASSWORD.html
CURLOPT_PROXYUSERNAME 7.19.1 0x071301 http://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERNAME.html
CURLOPT_PROXY_CAINFO 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAINFO.html
CURLOPT_PROXY_CAPATH 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CAPATH.html
CURLOPT_PROXY_CRLFILE 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_CRLFILE.html
CURLOPT_PROXY_KEYPASSWD 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_KEYPASSWD.html
CURLOPT_PROXY_PINNEDPUBLICKEY 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_PINNEDPUBLICKEY.html
CURLOPT_PROXY_SERVICE_NAME 7.43.0 0x072b00 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SERVICE_NAME.html
CURLOPT_PROXY_SSLCERT 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERT.html
CURLOPT_PROXY_SSLCERTTYPE 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLCERTTYPE.html
CURLOPT_PROXY_SSLKEY 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY.html
CURLOPT_PROXY_SSLKEYTYPE 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEYTYPE.html
CURLOPT_PROXY_SSLVERSION 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLVERSION.html
CURLOPT_PROXY_SSL_CIPHER_LIST 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_CIPHER_LIST.html
CURLOPT_PROXY_SSL_VERIFYHOST 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYHOST.html
CURLOPT_PROXY_SSL_VERIFYPEER 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYPEER.html
CURLOPT_PROXY_TLSAUTH_PASSWORD 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_PASSWORD.html
CURLOPT_PROXY_TLSAUTH_TYPE 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_TYPE.html
CURLOPT_PROXY_TLSAUTH_USERNAME 7.52.0 0x073400 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TLSAUTH_USERNAME.html
CURLOPT_PROXY_TRANSFER_MODE 7.18.0 0x071200 http://curl.haxx.se/libcurl/c/CURLOPT_PROXY_TRANSFER_MODE.html
CURLOPT_PUT 7.12.1 0x070c01 http://curl.haxx.se/libcurl/c/CURLOPT_PUT.html
CURLOPT_QUOTE 7.16.3 0x071003 http://curl.haxx.se/libcurl/c/CURLOPT_QUOTE.html
CURLOPT_RANGE 7.18.0 0x071200 http://curl.haxx.se/libcurl/c/CURLOPT_RANGE.html
CURLOPT_READDATA 7.9.7 0x070907 http://curl.haxx.se/libcurl/c/CURLOPT_READDATA.html
CURLOPT_READFUNCTION 7.18.0 0x071200 http://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html
CURLOPT_REDIR_PROTOCOLS 7.19.4 0x071304 http://curl.haxx.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html
CURLOPT_RESOLVE 7.21.3 0x071503 http://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html
CURLOPT_RESUME_FROM_LARGE 7.11.0 0x070b00 http://curl.haxx.se/libcurl/c/CURLOPT_RESUME_FROM_LARGE.html
CURLOPT_RTSP_CLIENT_CSEQ 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_RTSP_CLIENT_CSEQ.html
CURLOPT_RTSP_REQUEST 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_RTSP_REQUEST.html
CURLOPT_RTSP_SERVER_CSEQ 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SERVER_CSEQ.html
CURLOPT_RTSP_SESSION_ID 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_RTSP_SESSION_ID.html
CURLOPT_RTSP_STREAM_URI 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_RTSP_STREAM_URI.html
CURLOPT_RTSP_TRANSPORT 7.20.0 0x071400 http://curl.haxx.se/libcurl/c/CURLOPT_RTSP_TRANSPORT.html
CURLOPT_SASL_IR 7.31.0 0x071f00 http://curl.haxx.se/libcurl/c/CURLOPT_SASL_IR.html
CURLOPT_SEEKDATA 7.18.0 0x071200 http://curl.haxx.se/libcurl/c/CURLOPT_SEEKDATA.html
CURLOPT_SEEKFUNCTION 7.18.0 0x071200 http://curl.haxx.se/libcurl/c/CURLOPT_SEEKFUNCTION.html
CURLOPT_SERVICE_NAME 7.43.0 0x072b00 http://curl.haxx.se/libcurl/c/CURLOPT_SERVICE_NAME.html
CURLOPT_SOCKOPTDATA 7.16.0 0x071000 http://curl.haxx.se/libcurl/c/CURLOPT_SOCKOPTDATA.html
CURLOPT_SOCKOPTFUNCTION 7.16.0 0x071000 http://curl.haxx.se/libcurl/c/CURLOPT_SOCKOPTFUNCTION.html
CURLOPT_SOCKS5_GSSAPI_NEC 7.19.4 0x071304 http://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_NEC.html
CURLOPT_SOCKS5_GSSAPI_SERVICE 7.19.4 0x071304 http://curl.haxx.se/libcurl/c/CURLOPT_SOCKS5_GSSAPI_SERVICE.html
CURLOPT_SSH_AUTH_TYPES 7.16.1 0x071001 http://curl.haxx.se/libcurl/c/CURLOPT_SSH_AUTH_TYPES.html
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 7.17.1 0x071101 http://curl.haxx.se/libcurl/c/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.html
CURLOPT_SSH_KEYDATA 7.19.6 0x071306 http://curl.haxx.se/libcurl/c/CURLOPT_SSH_KEYDATA.html
CURLOPT_SSH_KEYFUNCTION 7.19.6 0x071306 http://curl.haxx.se/libcurl/c/CURLOPT_SSH_KEYFUNCTION.html
CURLOPT_SSH_KNOWNHOSTS 7.19.6 0x071306 http://curl.haxx.se/libcurl/c/CURLOPT_SSH_KNOWNHOSTS.html
CURLOPT_SSH_PRIVATE_KEYFILE 7.16.1 0x071001 http://curl.haxx.se/libcurl/c/CURLOPT_SSH_PRIVATE_KEYFILE.html
CURLOPT_SSH_PUBLIC_KEYFILE 7.26.0 0x071a00 http://curl.haxx.se/libcurl/c/CURLOPT_SSH_PUBLIC_KEYFILE.html
CURLOPT_SSLCERTTYPE 7.9.3 0x070903 http://curl.haxx.se/libcurl/c/CURLOPT_SSLCERTTYPE.html
CURLOPT_SSLVERSION 7.18.1 0x071201 http://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html
CURLOPT_SSL_CTX_DATA 7.11.0 0x070b00 http://curl.haxx.se/libcurl/c/CURLOPT_SSL_CTX_DATA.html
CURLOPT_SSL_CTX_FUNCTION 7.11.0 0x070b00 http://curl.haxx.se/libcurl/c/CURLOPT_SSL_CTX_FUNCTION.html
CURLOPT_SSL_ENABLE_ALPN 7.36.0 0x072400 http://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_ALPN.html
CURLOPT_SSL_ENABLE_NPN 7.36.0 0x072400 http://curl.haxx.se/libcurl/c/CURLOPT_SSL_ENABLE_NPN.html
CURLOPT_SSL_FALSESTART 7.42.0 0x072a00 http://curl.haxx.se/libcurl/c/CURLOPT_SSL_FALSESTART.html
CURLOPT_SSL_OPTIONS 7.25.0 0x071900 http://curl.haxx.se/libcurl/c/CURLOPT_SSL_OPTIONS.html
CURLOPT_SSL_SESSIONID_CACHE 7.16.0 0x071000 http://curl.haxx.se/libcurl/c/CURLOPT_SSL_SESSIONID_CACHE.html
CURLOPT_SSL_VERIFYSTATUS 7.41.0 0x072900 http://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYSTATUS.html
CURLOPT_STREAM_DEPENDS 7.46.0 0x072e00 http://curl.haxx.se/libcurl/c/CURLOPT_STREAM_DEPENDS.html
CURLOPT_STREAM_DEPENDS_E 7.46.0 0x072e00 http://curl.haxx.se/libcurl/c/CURLOPT_STREAM_DEPENDS_E.html
CURLOPT_STREAM_WEIGHT 7.46.0 0x072e00 http://curl.haxx.se/libcurl/c/CURLOPT_STREAM_WEIGHT.html
CURLOPT_SUPPRESS_CONNECT_HEADERS 7.54.0 0x073600 http://curl.haxx.se/libcurl/c/CURLOPT_SUPPRESS_CONNECT_HEADERS.html
CURLOPT_TCP_FASTOPEN 7.49.0 0x073100 http://curl.haxx.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html
CURLOPT_TCP_KEEPALIVE 7.25.0 0x071900 http://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html
CURLOPT_TCP_KEEPIDLE 7.25.0 0x071900 http://curl.haxx.se/libcurl/c/CURLOPT_TCP_KEEPIDLE.html
CURLOPT_TCP_NODELAY 7.50.2 0x073202 http://curl.haxx.se/libcurl/c/CURLOPT_TCP_NODELAY.html
CURLOPT_TFTP_BLKSIZE 7.19.4 0x071304 http://curl.haxx.se/libcurl/c/CURLOPT_TFTP_BLKSIZE.html
CURLOPT_TFTP_NO_OPTIONS 7.48.0 0x073000 http://curl.haxx.se/libcurl/c/CURLOPT_TFTP_NO_OPTIONS.html
CURLOPT_TLSAUTH_PASSWORD 7.21.4 0x071504 http://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_PASSWORD.html
CURLOPT_TLSAUTH_TYPE 7.21.4 0x071504 http://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_TYPE.html
CURLOPT_TLSAUTH_USERNAME 7.21.4 0x071504 http://curl.haxx.se/libcurl/c/CURLOPT_TLSAUTH_USERNAME.html
CURLOPT_TRANSFER_ENCODING 7.21.6 0x071506 http://curl.haxx.se/libcurl/c/CURLOPT_TRANSFER_ENCODING.html
CURLOPT_UNIX_SOCKET_PATH 7.40.0 0x072800 http://curl.haxx.se/libcurl/c/CURLOPT_UNIX_SOCKET_PATH.html
CURLOPT_URL 7.31.0 0x071f00 http://curl.haxx.se/libcurl/c/CURLOPT_URL.html
CURLOPT_USERNAME 7.19.1 0x071301 http://curl.haxx.se/libcurl/c/CURLOPT_USERNAME.html
CURLOPT_USE_SSL 7.11.0 0x070b00 http://curl.haxx.se/libcurl/c/CURLOPT_USE_SSL.html
CURLOPT_WILDCARDMATCH 7.21.0 0x071500 http://curl.haxx.se/libcurl/c/CURLOPT_WILDCARDMATCH.html
CURLOPT_WRITEDATA 7.9.7 0x070907 http://curl.haxx.se/libcurl/c/CURLOPT_WRITEDATA.html
CURLOPT_WRITEFUNCTION 7.18.0 0x071200 http://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html
CURLOPT_XFERINFODATA 7.32.0 0x072000 http://curl.haxx.se/libcurl/c/CURLOPT_XFERINFODATA.html
CURLOPT_XFERINFOFUNCTION 7.32.0 0x072000 http://curl.haxx.se/libcurl/c/CURLOPT_XFERINFOFUNCTION.html
CURLOPT_XOAUTH2_BEARER 7.33.0 0x072100 http://curl.haxx.se/libcurl/c/CURLOPT_XOAUTH2_BEARER.html
import requests
import urlparse
from bs4 import BeautifulSoup
import re
url_base = "http://curl.haxx.se/libcurl/c/"
url = urlparse.urljoin(url_base, "easy_setopt_options.html")
r = requests.get(url)
soup = BeautifulSoup(r.text, 'html.parser')
print "CURL_OPT,VERSION,LIBCURL_VERSION_NUM,URL"
for td in soup.table.find_all('td'):
if td.a:
url = urlparse.urljoin(url_base, td.a.get('href'))
nm = td.a.get_text()
pg = BeautifulSoup(requests.get(url).text, 'html.parser')
# print url
for h2 in pg.find_all('h2'):
if h2.get_text() == "AVAILABILITY":
p = h2.find_next_sibling('p')
m = re.search("(\d+)\.(\d+)\.(\d+)", p.get_text())
if m and m.group(1) and m.group(2) and m.group(3):
v1 = int(m.group(1))
v2 = int(m.group(2))
v3 = int(m.group(3))
ver = "%d.%d.%d" % (v1, v2, v3)
dfn = "0x%02x%02x%02x" % (v1, v2, v3)
var = nm
print "%s,%s,%s,%s" % (nm, ver, dfn, url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment