cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: adding a string in POST?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Aug 2010 15:24:52 +0200 (CEST)

On Thu, 19 Aug 2010, Rajanikanth wrote:

> How to add strings in "POST / HTTP/1.1\r\n".
>
> Actually I want to add 'client name' in between '/' & "HTTP".

No, you don't. The / is the URL-part of the HTTP request and you control what
goes in there by using the correct URL. You do not add random strings in that
line as then it isn't HTTP anymore!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-19