We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.
Hello,
please see the attached Delphi demo project. The code is expected to respond to an HTTP request to localhost:2222 by serving a static file but instead the response contains the file name. Furthermore it seems to be unsupported to specifiy the Content-type that HTTP.SYS will use in its response when it serves the file's content by setting the Content-type as custom header (see the commented out line).
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »