curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Why data still can be downloaded with HTTP 403 status?

From: Peng Yu via curl-users <curl-users_at_cool.haxx.se>
Date: Sun, 10 May 2020 13:56:54 -0500

Hi,

$ curl --verbose ...
...
< HTTP/1.1 403 Forbidden
...
<
{ [359 bytes data]
100 81498 0 81498 0 0 50214 0 --:--:-- 0:00:01 --:--:-- 50183

When the above 403 code occurs, curl still can download the data. But
wget just gives up. I don't understand why curl behaves differently
from wget. Could anybody help me understand why curl can still
download the content with the 403 status code? Thanks.

-- 
Regards,
Peng
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-05-10