Skip to content
Permalink
Browse files

fix(headers): don't proxy `content-md5` and `content-type` (#300)

  • Loading branch information
ricardogobbosouza authored and pi0 committed Oct 22, 2019
1 parent 2903fd5 commit 46c49e253cb23ffc1cf92ad02a1ab1fc24034906
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/module.js
@@ -58,7 +58,7 @@ function axiosModule (_moduleOptions) {
debug: false,
progress: true,
proxyHeaders: true,
proxyHeadersIgnore: ['accept', 'host', 'cf-ray', 'cf-connecting-ip', 'content-length'],
proxyHeadersIgnore: ['accept', 'host', 'cf-ray', 'cf-connecting-ip', 'content-length', 'content-md5', 'content-type'],
proxy: false,
retry: false,
https,

0 comments on commit 46c49e2

Please sign in to comment.
You can’t perform that action at this time.