HttpListener - how do I send a WebException HTTP 304 "Not Modified" error back to browser?
- by Greg
Hi,
How do I mimic a WebException 304 error back to browser if I am using HttpListener?
That is I have received a request to my HttpListener, and then obtained the HttpListenerContext, then from this point how would I mimic/arrange for a HTTP "304 Not Modified" response to be effectively sent back to the browser via the HttpListenerContext.response?
thanks