Chaostreff-Potsdam / erika3004

19 stars 5 forks source link

TCP Server: Answer HTTP requests with a static page #30

Open cyroxx opened 4 years ago

cyroxx commented 4 years ago

Some users try to open the URL in the web browser. In order to optimize their experience, we should respond with a static HTML page explaining "You're doing it wrong" in nice terms and give some help on how to use the service.

cyroxx commented 4 years ago

Documentation must contain Powershell examples as well, says @sknebel ;P

sknebel commented 4 years ago

Could potentially still print the request. It's still somewhat amusing that it does so.

sknebel commented 4 years ago

response could also just be a redirect to a page hosted elsewhere, e.g. on the github wiki here.