Re: wget question, http/1.1 request
- From: run_signature_script_for_my_email@xxxxxxxxxxx (laura fairhead)
- Date: Tue, 28 Feb 2006 00:30:47 +0000 (UTC)
On 27 Feb 2006 03:46:25 -0800, "vr" <valentino.rossi.85@xxxxxxxxx> wrote:
hi all,
is it possible for wget to make http/1.1 request without modifying the
source? or if it is the only way can anyone guide me with the minimum
effort i shoudl do? (learning the source code is too much for me).
i tried to download a webpage but later found out that it only received
http/1.1 request and it always redirect http/1.0 request to itself so
my request wind up in an infinite loop. i've tried all combination of
headers (connection, host, user agent, etc) to no avail so i resort to
curl+perl but i'm not satisfied with the result.
Hi,
A quick, easy way is to change "HTTP/1.0" in the wget binary to "HTTP/1.1"
Use a copy to edit (to keep the name the same which may be necessary
for the program it would go in a different directory) and something
like an s/// command in 'bvi'.
byefornow
laura
thanks in advacne.
--
" The war against Yugoslavia was conducted on behalf of the
great powers because Yugoslavia stood in the way of their interests. It
stood as an obstacle to the goals of the new world oppressors, the new
colonialism. It represented ? a bad example? for all those countries
and peoples who wished to stay free and independent."
Slobodan Milosevic 17th October 2002
.
- References:
- wget question, http/1.1 request
- From: vr
- wget question, http/1.1 request
- Prev by Date: Re: = char at end of paths??
- Next by Date: Re: Quick grep question
- Previous by thread: wget question, http/1.1 request
- Next by thread: matching pattern over multiple lines
- Index(es):
Relevant Pages
|