fix bug
This commit is contained in:
@@ -25,8 +25,8 @@ public class Parser {
|
||||
String value;
|
||||
for (String head : header) {
|
||||
String[] strings = head.split(":", 2);
|
||||
key = strings[0];
|
||||
value = strings[1];
|
||||
key = strings[0].trim();
|
||||
value = strings[1].trim();
|
||||
map.put(key, value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user