bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] Using --post-data vs GET is much slower


From: Micah Cowan
Subject: Re: [Bug-wget] Using --post-data vs GET is much slower
Date: Thu, 10 Feb 2011 08:33:45 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 02/09/2011 04:15 AM, Richard van Katwijk wrote:
> I have two identical tests, differing only in that one sends the login
> credentials via --post-data and the other passing them in the url itself, as
> per examples below:

<snip>

> GET:
> (/usr/bin/time -p /usr/bin/wget -q -p -O authentication_get.txt
> --keep-session-cookies --save-cookies cookies.txt
> https://www.mysite.com/address@hidden&password=some_password)
> 2>&1 | /bin/grep real | /usr/bin/cut -d ' ' -f 2

Hopefully in your real command, you're actually quoting the URL(thus
avoiding the "specialness" of the & character), right? Otherwise, it
would appear your server is allowing you to log in without specifying
the password...

-- 
Micah J. Cowan
http://micah.cowan.name/



reply via email to

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