Comment out l_quvi_object_opts_curl
commit63aa9cb9997b8b999a112ab09f3a0ec9a8580b46
authorToni Gundogdu <legatvs@gmail.com>
Sun, 3 Mar 2013 12:19:31 +0000 (3 14:19 +0200)
committerToni Gundogdu <legatvs@gmail.com>
Mon, 4 Mar 2013 10:46:25 +0000 (4 12:46 +0200)
tree8b7458835ef337af277f08652b7367bcb29bd25e
parent1e727702a8f4178c39af5979e83027408ed33156
Comment out l_quvi_object_opts_curl

This function currently sets only the CURLOPT_USERAGENT. The scripts may
use the quvi.http.header to set the UA which is more flexible: the
custom headers will be cleared automatically, thus the previously set
CURLOPT_USERAGENT will not be lost, e.g. when a program is reusing the
libquvi curl session handle and sets the CURLOPT_USERAGENT to another
value.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
src/lua/quvi/http/fetch.c
src/lua/quvi/http/metainfo.c
src/lua/quvi/http/resolve.c
src/lua/quvi/opts.c
src/lua/quvi/opts.h