Closed nadraliev closed 6 years ago
If header value contains symbol ":", like"INFO: name='Simulator: 1'", then parsed headers map contains entry with key "INFO: NAME='SIMULATOR'" and value "1" but should be key "INFO" and value "name='Simulator: 1'"
"INFO: name='Simulator: 1'"
"INFO: NAME='SIMULATOR'"
"1"
"INFO"
"name='Simulator: 1'"
Seems like private static final Pattern HEADER_PATTERN = Pattern.compile("(.*): (.*)"); is wrong in ResponseParser
private static final Pattern HEADER_PATTERN = Pattern.compile("(.*): (.*)");
If header value contains symbol ":", like
"INFO: name='Simulator: 1'"
, then parsed headers map contains entry with key"INFO: NAME='SIMULATOR'"
and value"1"
but should be key"INFO"
and value"name='Simulator: 1'"