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: Richard van Katwijk
Subject: Re: [Bug-wget] Using --post-data vs GET is much slower
Date: Thu, 10 Feb 2011 20:23:31 +0200

Hi, thanks for the response :)

Yes indeed, that was copy/paste error - the real tests have quoted urls :)
Just ran them again now to make sure, one is definitely waaay slower than
the other :(

Richard

On 10 February 2011 18:33, Micah Cowan <address@hidden> wrote:

> 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]