tommut / HttpRequester

HttpRequester add-on for Firefox
https://addons.mozilla.org/En-us/firefox/addon/httprequester/
161 stars 39 forks source link

post 发送json时,产生415错误 #32

Closed bj379724952 closed 7 years ago

bj379724952 commented 7 years ago

在火狐升级到51.0.1时,post 发送json时,产生415参数错误,退回到50.0.2时,正常

yellowanwu commented 7 years ago

MoTo February 7, 2017 ·

It was working fine till I updated to firefox 51, from then Content-Type header value is duplicated, for example lets assume Content-Type is supposed to be "application/json" but when request is send by HttpRequester the Content-Type that I get on server side is "application/josn; application/josn". so that content type checks on server side may fail.

tommut commented 7 years ago

Should be now fixed with v2.2. Thanks.