fast-proxy
fast-proxy copied to clipboard
Handle OPTIONS content-length
Fixes #82, with a new test reflecting that.
Note that the method to remove the content-length
header is slightly changed:
-
hasOwnProperty
is probably better -
delete
is more straightforward than usingfilterHeaders()
. By the way, that function was only used here but I leaved it in lib/util.js, in case you would like to keep it.