tomclegg.net |
Windows Media Player's Malformed HTTP Requests Posted December 14, 2003 Problem:When accessing HTTP streams, some versions of Windows Media Player (I tested version 8.00.00.4477) send HTTP/1.0 requests which are rejected by NetCache NetApp/5.5D1. For example, if I open GET / HTTP/1.0 Accept: */* User-Agent: NSPlayer/8.0.0.4477 Host: live32.cjly.net Pragma: no-cache,rate=1.000000,stream-time=0,stream-offset=0:0,request-context=28902784,max-duration=0 Pragma: xClientGUID={3300****-2C**-46**-AE**-87B4F4******} (xClientGUID changed to protect the guilty.) The first line of this request (" HTTP/1.0 400 Bad Request Server: Cougar 4.1.0.3857 Via: px1ca (NetCache NetApp/5.5D1) Workaround:In this particular circumstance, I was able to use a different port number to circumvent Shaw's web cache and reach the server directly. The server accepts the request, and WMP can receive the stream. Solution:Since then, Shaw has upgraded to NetCache NetApp 5.6.1D25 which does not exhibit this problem. Credit:Ahmed Azhad for noticing that this is a bug in the proxy software, not a bug in Windows Media Player. |