whikloj / BagItTools

A PHP BagIt library
MIT License
11 stars 5 forks source link

Explore using php-vcr #32

Open whikloj opened 2 years ago

whikloj commented 2 years ago

For the Fetch function tests we use donatj/mock-webserver, explore whether php-vcr/php-vcr might be easier and faster.

whikloj commented 2 years ago

Currently php-vcr does not support the CURLINFO_EFFECTIVE_URL parameter for curl_getinfo(). See https://github.com/php-vcr/php-vcr/issues/363

whikloj commented 10 months ago

2 years on it would appear that php-vcr is not interested. Could try fork https://github.com/CoverGenius/php-vcr which did add the required effective URL response.