On 15/07/2021 13:50, Gealber Morales via curl-library wrote: > > The curious thing is that I can access google from the > browser, and I tried another thing, I made the same > request changing the `User-Agent` to simulate the request > of a browser: [..] > In this case, I get the expected response, which is a > redirection. > > I imagine that they are blocking or making some filtering > by `User-Agent` but not sure if it could be other reason, > maybe you have an idea of what could be happening.
Since you only changed one thing, and that change made it work, I think it's safe to assume that that one change was the trigger. Cheers ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html