meteor-restivus icon indicating copy to clipboard operation
meteor-restivus copied to clipboard

API should close connection by default

Open artgo opened this issue 6 years ago • 2 comments

To close connection we require our customers to explicitly do it via "Connection" header like so:

curl -i http://localhost:3000/api/override-default-heade  -H "Connection: close"

This is not a standard expected behaviour and creates unnecessary additional load on the servers

artgo avatar May 13 '19 16:05 artgo

@kahmali FYI

artgo avatar May 13 '19 16:05 artgo

https://github.com/kahmali/meteor-restivus/blob/b95f879c0ebc52e0a7cd85e91fbc8ba5118026eb/lib/iron-router-error-to-response.js#L24

vadkasevas avatar May 10 '24 00:05 vadkasevas