Re: HTTP_Client

From: Date: Sun, 21 Apr 2002 17:24:52 +0000
Subject: Re: HTTP_Client
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5708@lists.php.net to get a copy of this message
Okay, I could go with what CPAN used, which was HTTP_BrowserDetect or HTTP_Detect is another idea, and finally HTTP_BrowserSniff or just HTTP_Sniff, but sniff sort of makes me feel like I have a runny nose. Dan Markus Fischer (mfischer@guru.josefine.at) wrote: > You know, the first thing which comes up my mind when I hear > 'HTTP_Client' is something that ACTS as an http client (read: > a browser class). It surprised my that you were actually > talking about a HTTP client detection class ... > > Maybe a more clearer name, in sake of brevity, should be > used? > > just my thoughts > > - Markus > > On Sun, Apr 21, 2002 at 08:34:26AM -0700, Dan Allen wrote : > > I would like to contribute a class named HTTP_Client. It is basically a user > > agent parser that does both browser and os detection. It is strictly, strictly > > based on the Mozilla JavaScript browser detection code at > > > > > > http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html > > > > which happens to be the same code followed by our friends over at CPAN.org when > > writing the Perl module. I also implemented ideas from the guys at Horde using > > functions such as get/set/hasQuirk and get/set/hasFeature to do the basic > > quirk/feature detection. There are little or no regular expressions used since > > you don't really need them to do this task, and hardly any are used in the CPAN > > module either. > > > > I intend on calling the class HTTP_Client for brevity and would plan to make a > > folder named HTTP_Client and put the Client.php file inside of that folder. I > > will post the code at the request of the list if review must be done first. > > The code is strictly pear compliant and I already have a commit account. > > > > Thanks, > > > > Dan Allen > > dallen@php.net > > > > -- > > Since no one can ever know for certain whether or not his own view > > of creation is the correct one, it is impossible for him to know if > > someone else's is the wrong one. > > > > -- > > PEAR Development Mailing List (http://pear.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > Please always Cc to me when replying to me on the lists. > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc > "Mind if I MFH ?" "What QA did you do on it?" "the usual?" > "ah... none :)" > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- "While they're pumping, you're soaking them" -- Speed Loader TV Advert

« previous php.pear.dev (#5708) next »