httprb / http

HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
MIT License
3.01k stars 321 forks source link

Strange 404 responses #612

Open mperice opened 4 years ago

mperice commented 4 years ago

Does anyone know why the following two urls return 404 response code in http.rb:

HTTP.follow(hoops: 1).get("https://offers.careatc.com/hubfs/template-assets/shared-assets/logo-white.png").code => 404

HTTP.get("https://www.avanan.com/hubfs/marketing/website/jacob_redesign/case_studies/service-source-ft.png").code => 404`

I get 200s using chrome, wget, requests and HTTParty. I have tried this using the 4.4.1 release, as well as the latest 5.0 master. Thank you for your answer.

tarcieri commented 1 year ago

I get 200 for both of these.

Are you sure it's not something server-side?