cURL / Mailing Lists / curl-library / Single Mail


CURL custom request

From: Dung Nguyen <>
Date: Tue, 8 Jan 2013 23:12:14 +0700

I have server with i need to call the request like this
*GET /test*
* HTTP/1.1*
*Accept: */**
*Connection: Keep-Alive*
*User-Agent: Mozilla/4.0*
*Host: severtest*

normally the request is GET /test HTTP/1.1 but i need to send request like
and the server is respond like this
*Welcome to the server*
*HTTP/1.1 200 OK*
*Server: custom*
*Content-Type: text/html*
*Content-Length: 36*
*Accept-Ranges: bytes*

except the "*Welcome to the server*"* *everything work like normal server.

Can i use lib curl to do this ?

List admin:
Received on 2013-01-08