Answer the question
In order to leave comments, you need to log in
What is special about wget requests?
Hello. There was a task to replace the use of wget. I won't go into details, BUT! I have a situation where one of the third-party services does not respond correctly to requests.
When I try to make a GET request to a specific address, I get a redirect to the html page of this service. In the case of wget, this is not observed, the file is downloaded stably at the same URL.
Tell me, good people, what kind of things are these.
Answer the question
In order to leave comments, you need to log in
When I try to make a GET request to a specific address, I get a redirect to the html page of this service. In the case of wget, this is not observed, the file is downloaded stably at the same URL.Compare request headers, specifically User-agent .
With such a small amount of introductory information, it will be problematic to tell you ...
All the same, maybe you can post a dump of the headers of both requests (sniffer or proxy)?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question