electrogypsy Well-known member Licensed customer Mar 21, 2012 #1 hey, i was just wondering when i create a registered feed in xenforo, is there a specific user agent it uses when fetching feed data? im using a .htaccess file to filter certain kinds of redirects with certain user agents. thanks!
hey, i was just wondering when i create a registered feed in xenforo, is there a specific user agent it uses when fetching feed data? im using a .htaccess file to filter certain kinds of redirects with certain user agents. thanks!
Jake Bunce Well-known member Licensed customer Mar 21, 2012 #2 Without testing it, I think I found it in the code. The user-agent is this string: Code: Zend_Http_Client Defined in this file: library/Zend/Http/Client.php Rich (BB code): protected $config = array( 'maxredirects' => 5, 'strictredirects' => false, 'useragent' => 'Zend_Http_Client', 'timeout' => 10, 'adapter' => 'Zend_Http_Client_Adapter_Socket', 'httpversion' => self::HTTP_1, 'keepalive' => false, 'storeresponse' => true, 'strict' => true, 'output_stream' => false, 'encodecookies' => true, 'rfc3986_strict' => false ); Upvote 0 Downvote
Without testing it, I think I found it in the code. The user-agent is this string: Code: Zend_Http_Client Defined in this file: library/Zend/Http/Client.php Rich (BB code): protected $config = array( 'maxredirects' => 5, 'strictredirects' => false, 'useragent' => 'Zend_Http_Client', 'timeout' => 10, 'adapter' => 'Zend_Http_Client_Adapter_Socket', 'httpversion' => self::HTTP_1, 'keepalive' => false, 'storeresponse' => true, 'strict' => true, 'output_stream' => false, 'encodecookies' => true, 'rfc3986_strict' => false );
electrogypsy Well-known member Licensed customer Mar 21, 2012 #3 thank you! can anyone else confirm this? Upvote 0 Downvote