cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

re: assign http response header to command line variable in curl

From: <analyz.oh_at_netzero.net>
Date: Sat, 26 Apr 2008 15:24:39 GMT

04/25/08

Hello:

If I have a HTTP response header sent to me from a server such as:

X-var: datadescription

and I wish to assign this to a variable, what syntax should I be using when I specify:

"vname = X-var" on the command line?

I have tried many different things that do not transfer the contents of X-var into the variable (vname).

Any help is much appreciated!

analyz

_____________________________________________________________
Click to find information on your credit score and your credit report.
http://thirdpartyoffers.netzero.net/TGL2211/fc/Ioyw6ijmNLrzqU8njjmcaYc71zbfK5shNvdPoULPR9d6TUMXBNh0ar/
Received on 2008-04-26

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET