diff options
| -rw-r--r-- | it_url.class | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/it_url.class b/it_url.class index cd23360..637990c 100644 --- a/it_url.class +++ b/it_url.class @@ -352,9 +352,9 @@ function request($p=array())  		}  		else  		{ -			# Send a notice in cases where changing the default to empty_on_fail=true would change result for text results -			if ($url->result >= 400 && $url->data && !isset($p['empty_on_fail']) && it::match('^text/', $url->headers['Content-Type'])) -				it::error(['to' => 'schneider@search.ch', 'title' => 'Failing it_url::get() without empty_on_fail but non-empty data', 'body' => ['p' => $p, 'url' => $url]]); +			# FIXME 2024-06 CS Send a notice in cases where changing the default to empty_on_fail=true would change result for text results +			#if ($url->result >= 400 && $url->data && !isset($p['empty_on_fail']) && it::match('^text/', $url->headers['Content-Type'])) +			#	it::error(['to' => 'schneider@search.ch', 'title' => 'Failing it_url::get() without empty_on_fail but non-empty data', 'body' => ['p' => $p, 'url' => $url]]);  			if ($url->result >= 400 && ($p['empty_on_fail'] || $p['keepfailed']))  				$got = $url->data = false; |