Wednesday, 7 June 2017

How to send HTTP error from http-proxy?

Is it possible in http-proxy to do not forward requests to the server, but at once return a response with some error code, for example with 401 Unauthorized?
I need analyze request body and in some cases do not forward requests to the server.



via Volodymyr Bezuglyy

No comments:

Post a Comment