当backend服务器不返回content-type,bfe会自动添加一个,这个怎么解决? #969
Answered
by
daimg
lf2186
asked this question in
Q&A (问题和回答)
-
最近上线业务,碰到一个问题,
经过bfe的调度,会变为:
多了Content-Type: text/plain; charset=utf-8,会导致二进制数据流变为文本被浏览器解析,这个怎么让bfe不要添加?? |
Beta Was this translation helpful? Give feedback.
Answered by
daimg
Jan 27, 2022
Replies: 1 comment
-
The behavior, appending "Content-Type" if not present, can not be disabled currently, but you may overwrite this header's value to expected one by mod_header . |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mileszhang2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The behavior, appending "Content-Type" if not present, can not be disabled currently, but you may overwrite this header's value to expected one by mod_header .