View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004976 | MMW v4 | Framework: Scripts/Extensions | public | 2008-11-28 10:46 | 2010-12-23 20:11 |
Reporter | peke | Assigned To | |||
Priority | high | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | suspended | ||
Product Version | 3.1.2 | ||||
Target Version | 4.0 | Fixed in Version | 4.0 | ||
Summary | 0004976: Extensions: Support for Additional browser header info | ||||
Description | New TIEHTTP build 066 support sending of Additional headers to server. Adding several additional headers would be useful for leech protection and make clear showing to server that page is requested from MediaMonkey Internal Browser. Example: request_headers.Add('User-Agent: MediaMonkey/3.x (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) MediaMonkey/3.1.0.1196'); request_headers.Add('Referer: 3000001 last.fm scrobbler'); //Extension ID NOTE: This should be very useful so that server can force browsing of some pages thrum MediaMonkey and/or apply specific HTML formatting for internal MM browser. Like clicking on "Get more extensions..." can be opened in MM directly and have different formatting than same link viewed in browser. | ||||
Additional Information | What different browser sends to Server can be seen on these links: http://www.ericgiguere.com/tools/http-header-viewer.html http://www.xhaus.com/headers | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Fixed in build | 1305 | ||||
|
Since we use IE for many actions (like browsing), I don't think that this would be of any use, at least not until we significantly change the way MM manages HTML browsing. |
|
This is more for Server Side and not for MediaMonkey Client side as those additional Header values will be handled on Server for Specific HTML formatting. I'll check if I could make small/fast example, althru unless 4970 issues are fixed there is no point of adding this functionality |
|
Using non risk code I added few headers to get better results from TIE. |
|
Changed IEHTTP3.pas To correctly show MediaMonkey as Accessing application to Web server. |
|
As talked with Ludek over IM it should not be the problem to add these Headers: "X-MediaMonkey-Major", "X-MediaMonkey-Minor", "X-MediaMonkey-Release", "X-MediaMonkey-build" or if it is simpler just "X-MediaMonkey-Version" using format "3.2.0.1294" |
|
I would suggest these request headers: User-Agent: MediaMonkey MediaMonkey-Version: 3.2.0.1294 or maybe directly: User-Agent: MediaMonkey 3.2.0.1294 because most of apps includes version info directly in the "User-Agent" request header. |
|
Fixed in build 1305. Request header is in the form: User-Agent: MediaMonkey 4.0.0.1305 and can be parsed by server to get MM version. |
|
Verified 1308 Note: Set as private due possible security issues in case some other apps decide to pretend to be MM. |