Update
This commit is contained in:
@@ -155,7 +155,7 @@ public class HttpUtil {
|
||||
}
|
||||
|
||||
// 处理请求头
|
||||
if (line.split(":").length >= 2) {
|
||||
if (!httpBody && line.split(":").length >= 2) {
|
||||
key = line.substring(0, line.indexOf(":") - 1).trim();
|
||||
value = line.substring(line.indexOf(":") + 1).trim();
|
||||
headers.put(key, value);
|
||||
|
||||
Reference in New Issue
Block a user