tests/IntegrationTests/POData/Misc/MiscTest.php
// ETag headrs are not allowed for feed
ETag headrs are not allowed for feed
ETag headrs are not allowed for feed
function testETag_For_Feed()
	{
        $ch = curl_init();
        $headers = array('If-None-Match:' . 'AAA');
        curl_setopt($ch, CURLOPT_URL, self::BASE_SERIVE_URL . '/Customers');
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
        $result = curl_exec($ch);
        $info = curl_getinfo($ch);
        curl_close($ch);
        $pos = strpos($result, '<message>If-Match or If-None-Match HTTP headers cannot be specified since the URI \'http');
        $this->assertTrue($pos !== false);
	}
function testETag_For_Feed ( ) { $ ch = curl_init ( ) ; $ headers = array ( 'If-None-Match:' . 'AAA' ) ; curl_setopt ( $ ch , CURLOPT_URL , self :: BASE_SERIVE_URL . '/Customers' ) ; curl_setopt ( $ ch , CURLOPT_RETURNTRANSFER , true ) ; curl_setopt ( $ ch , CURLOPT_HTTPHEADER , $ headers ) ; $ result = curl_exec ( $ ch ) ; $ info = curl_getinfo ( $ ch ) ; curl_close ( $ ch ) ; $ pos = strpos ( $ result , '<message>If-Match or If-None-Match HTTP headers cannot be specified since the URI \'http' ) ; $ this -> assertTrue ( $ pos !== false ) ; }
ETag headrs are not allowed for feed
ETag headrs are not allowed for feed
// If-Match/If-None-Match allowed only for entry with etag properties