VirtualBox

Ignore:
Timestamp:
Apr 12, 2024 10:04:21 AM (10 months ago)
Author:
vboxsync
Message:

IPRT/http-curl: Also handle the 501 HTTP status code. Required for testing unsupported stuff in the testcases. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/http-curl.cpp

    r102916 r104308  
    28342834                if (!puHttpStatus)
    28352835                    rc = VERR_HTTP_NOT_FOUND;
     2836                break;
     2837            case 501:
     2838                /* Requested function not supported */
     2839                if (!puHttpStatus)
     2840                    rc = VERR_HTTP_NOT_SUPPORTED;
    28362841                break;
    28372842        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette