fast-proxy icon indicating copy to clipboard operation
fast-proxy copied to clipboard

Handle OPTIONS content-length

Open Maxime-J opened this issue 1 year ago • 0 comments

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 using filterHeaders(). 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.

Maxime-J avatar Mar 13 '23 20:03 Maxime-J