PHP cURL HTTPS Support Task
PHP cURL HTTPS Support Task: a task in Terminal-Lego-15k (Harbor dataset). You are given a PHP function that uses cURL to fetch web pages. The function works correctly for HTTP URLs but fails when trying to fetch HTTPS URLs. Your task is to fix the function so that it properly handles HTTPS…
The task
You are given a PHP function that uses cURL to fetch web pages. The function works correctly for HTTP URLs but fails when trying to fetch HTTPS URLs. Your task is to fix the function so that it properly handles HTTPS connections.
Part of PrimeIntellect/Terminal-Lego-15k.