PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » Services_Technorati » Bug #6086

Change User-Agent header

Details

Request #6086Change User-Agent header
Submitted2005-11-27 14:23 UTC
Fromabuzaim at gmail dot com
Assignedjystewart
StatusClosed
PackageServices_Technorati
PHP Version4.4.0
OSWindows
Roadmaps(Not assigned)

Comments

[2005-11-27 14:23 UTC] abuzaim at gmail dot com

Description:
------------
Add capability to use a different User-Agent header sent to the Technorati server. Reason: non-standard UAs get sent old cached versions of responses, standard UAs (e.g. browsers) do not.

[2005-11-27 18:33 UTC] jystewart at php dot net

Do you have a source for that? Technorati are aware of this
package so if they're sending bad responses I'd like to ask
them to fix that.

I'll look into making the user agent an instance variable so
it can be changed, but I'm not sure that it merits a new
method.

[2007-03-01 12:55 UTC] jystewart at php dot net

In the next version of Services_Technorati the user agent will be a static class variable so that the user can change it, but I still haven't seen a source for the claim that non-standard UAs will get bad responses.