I am using wget
for Windows (gnuwin32 wget-1.11.4-1) in Windows 8 and using it for a helpdesk tool called Kayako, telling it to poll from an email queue. The command line looks like this:
wget.exe -O null --timeout 25 http://xxx.kayako.com/cron/index.php?/Parser/ParserMinute/POP3IMAP
I know it takes around 20 seconds to receive a response from the server in my particular case when using a browser with the URL in the command line above. However, when using that command, it returns almost immediately. This is an excerpt of the output:
Connecting to xxx.kayako.com[xxx.xxx.xxx.xxx]:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html]
I would like to know what would be the difference between the two cases and how could I get wget to behave in the same way as the browser (I know it doesn't because Kayako is not polling from the email queue).