Class options

Any libcurl option could be specified as an option of methods ^curl:options[] and ^curl:load[] (see http://curl.haxx.se/libcurl/c/curl_easy_setopt.html). Options' names should be written in lowercase and without the CURLOPT_ prefix.

Also, Parser supports the following options:
Option
Default
Value
$.library[/path/to/libcurl.so]

unix - libcurl.so
win32 - libcurl.dll
Full path to dynamical libcurl library.
$.charset[êîäèðîâêà]

taken from HTTP response header
Charset used in documents on remote server. This charset is used to transcode request string and response body.
$.name[file name]

NONAME.DAT
The name of the created file object.
$.mode[text|binary]

text
The mode of the created file object.
$.content-type[CONTENT-TYPE]

taken from HTTP response header
The content-type of the created file object.





Copyright © 1997–2011 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 02.03.2011