Module "curl"
=============

cURL Module

This module adds an interface to the cURL library.

WARNING: This module is still under construction.
 
builtin curl(url, %options);
----------------------------

Perform a cURL file transfer

The first argument to this function is the URL. All other arguments
(cURL options) must be specified by name (lowercase and without the
CURLOPT_ prefix). A full list of cURL options can be found at:

	http://curl.haxx.se/libcurl/c/curl_easy_setopt.html

The return value is a data structure with the following fields:

	.header
		The HTTP response header

	.body
		The actual HTTP response

Example given:

	var result = curl("http://de.wikipedia.org/wiki/Spezial:Search?",
			post: 1, postfields: "search=SPL_Programming_Language");
	debug result.header;

 
