gf
gf copied to clipboard
http文件上传BUG修复
c.header中可能包含有原来的Content-Type请求头, 如:Content-Type = application/json; 然后如果是文件上传的请求的话, 请求头会被修改为multipart/form-data; boundary=, 这是正确的. 但是到了我修改的这个地方, 原来的请求头Content-Type = application/json会覆盖掉修改后的Content-Type = multipart/form-data; boundary=, 所以这个地方要过滤掉原来的值
这样写不行吧。其它header怎么办?又不只有一种header
No activity for more than one month.