cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL custom request

From: Tetetest <tetetest_at_rambler.ru>
Date: Wed, 9 Jan 2013 09:26:53 +0400
Re: CURL custom request Hello Dung,

You may try curl_easy_send()/curl_easy_recv() functions to send your custom request and receive the nonstandard response.
These functions are protocol-agnostic, so you will have to parse the response in your code.


Wednesday, January 9, 2013, 8:25:42 AM, you wrote:


ok, i see...
if i want it work then i need to modify a lots of thing. The thing is server is not mine, and i need to follow them, too bad :D

2013/1/9 Daniel Stenberg <
daniel@haxx.se>
On Tue, 8 Jan 2013, Michael Wood wrote:

I imagine getting curl to accept "Welcome to the server\nHTTP/1.1 200 OK..." as a response would also require modifications?
Oh right. I didn't even spot that part. That part would possibly require a more complicated modification...

-- 

 / 
daniel.haxx.se

-------------------------------------------------------------------
List admin: 
http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html




-- 
Best regards,
 Tetetest                            
mailto:tetetest@rambler.ru

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-01-09