Re: Does curl-loader support HTTP 1.0 ?
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2008-12-24 06:05:36
|
Hi Meenakshi, On Wed, Dec 24, 2008 at 7:05 AM, meenakshi syamkumar <mee...@gm...> wrote: > Hi, > > I need to perform HTTP 1.0 testing as well as HTTP 1.1 in my test suite. > > So, I'd like to know whethercurl-loader supports HTTP 1.0. That is, can it > generate and send HTTP 1.0 traffic? > > Thanks, > > Meenakshi Since libcurl has such option, the code can be modified to do that. Y can add in loader.c function setup_curl_handle_init () somewhere at the beginning: curl_easy_setopt (handle, CURLOPT_HTTP_VERSION , CURL_HTTP_VERSION_1_0); which means Enforce HTTP 1.0 requests. A possible issue is that it can potentially conflict with other options set in setup_curl_handle_init () or setup_curl_handle_appl (). Y might wish to investigate, whether is just works after the above modification, which is fast. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |