Can I send HTTP response before completely read HTTP request?
For example if user POST large file - exceed size limit or service send wrong header and we don't need to process rest of data and replay with HTTP error code?
UPDATE I finally found that this question had been already asked:
- Is it acceptable for a server to send a HTTP response before the entire request has been received?
- How to cancel HTTP upload from data events?
and it is possible but browser implementation are "broken" - doesn't take into account such event.