Skip to content

Commit f959c58

Browse files
ricardogobbosouzapi0
authored andcommitted
fix(headers): don't proxy content-md5 and content-type (#300)
1 parent 5096060 commit f959c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function axiosModule (_moduleOptions) {
5858
debug: false,
5959
progress: true,
6060
proxyHeaders: true,
61-
proxyHeadersIgnore: ['accept', 'host', 'cf-ray', 'cf-connecting-ip', 'content-length'],
61+
proxyHeadersIgnore: ['accept', 'host', 'cf-ray', 'cf-connecting-ip', 'content-length', 'content-md5', 'content-type'],
6262
proxy: false,
6363
retry: false,
6464
https,

0 commit comments

Comments
 (0)