Dart Home | PowerTCP WebServer for ActiveX | Custom Development | Reply | PowerTCP WebServer for ActiveX Topics | Forums |
Author | Forum: PowerTCP WebServer for ActiveX Topic: Server connection response |
chris@digitalinsights.com From: San Clemente, CA USA Posts: 73 Member Since: 11/03/03 |
posted March 25, 2011 12:20 PM I have a client that wants to change response the webserver gives when a connection is requested. Currently the webserver responds with: Dart WebServer Tool/1.0 Is there a way to change that in a property settings? Thanks |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted March 25, 2011 4:45 PM Hello, Yes, the Server response header (along with the rest of the response headers) can be set in the connection request event with: Response.Header.add httpServer, "Your Custom Header Here" I don't know how your code is set up, but in our WebServer sample, this would be added in the WebServer1_Get event. ------ |
chris@digitalinsights.com From: San Clemente, CA USA Posts: 73 Member Since: 11/03/03 |
posted March 25, 2011 6:07 PM Thank you! Is there a way to disable the HTTP TRACE? |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted March 28, 2011 10:09 AM You're welcome. The TRACE request will be raised in the Request event, and you can modify the response (or not respond) to it there. ------ |
Reply | PowerTCP WebServer for ActiveX Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |