bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] POST file with several requests (HTTP 1.1)


From: Alexandre Vieira
Subject: [Bug-wget] POST file with several requests (HTTP 1.1)
Date: Mon, 2 Aug 2010 16:52:49 +0100

Hi all,

I need to submit several POSTs in a row in a single connection (i.e HTTP 1.1
persistent connection).

I've tried:

/usr/local/bin/wget --user-agent="MyUserAgent/3.0/1.0" --auth-no-challenge
--http-user="myUser" --http-password="myPWD" --header "Pragma: no-cache"
--header "Cache-Control: no-cache" --header "Connection: keep-alive"
--header "Content-Type: text/xml" --header "Accept: text/html, image/gif,
image/jpeg, *; q=.2, */*; q=.2" --post-file=foobar
http://192.168.100.10:20010/MyAPP

Where foobar contains two different POST (xml) requests separated by a CRLF.

When I execute the command it will post my first request but ignore the
second line of the file.

Is it possible to send all the requests in the file?

Thanks in advance

BR
Alex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]