Hi,
When developing a lotusscript web agent. I want to programmatically change the http status code (e.g. 200, 400 etc.), but I’ve found that domino does not allow that. For example, when I send…
Print |content-type:application/vnd.ms-excel|
… this works and the header is added, but when I send…
Print |HTTP/1.1 503 Service Temporarily Unavailable|
… Domino wraps the header in the html and sends a http status code of 200, e.g. the response is…
HTTP/1.1 503 Service Temporarily Unavailable
… with no header added. I’ve also tried deliberately sending an error through the agent…
Error 503, “HTTP/1.1 503 Service Temporarily Unavailable”
…but Domino still sends http status code 200. Is there any way to do this?
Thanks,
Ryan