Site based user-agent

Dean Montgomery <[email protected]> Fri, 11 Sep 2009 07:23:50 -0700 (PDT)
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
Apple Quicktime trailers now require a special user-agent string.  Would it be possible to allow for site-based user-agent strings in the conf file?

e.g.
===
# default user-agent
user-agent=NSPlayer
# site specific user-agent
user-agent:apple.com=QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)
===

This way if sites require specific user-agent strings for Quicktime Player or WMP or RealPlayer; then the mplayerplug-in can mimic user-agent on a per-site basis.


-- 
Dean Montgomery
Network Support Tech./Programmer
[email protected]
School District #73

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july