How to let return IWebserverGet a non 200 error code with customer data
With IWebserverGet you either have to send the response to the user using the send function, which allows you to provide the content, but not the HTTP status code. For specific HTTP status codes, you have to use the cancel function with a certain reason. However, the content returned then by innovaphone is custom content that is for example predefined content for 404 in case you want to return not found. How can I change this content that is returned to not be the default content (which is an HTML page it seems)?