I have the following code in a rather dated ASP.NET application. It works, producing what it\'s supposed to. However, the Content-Type might be a problem.