(String status_line)
| 550 | static final Pattern STATUS_LINE_PATTERN3 = Pattern.compile("^([^ ]+)"); |
| 551 | |
| 552 | private void analyzeStatusLine(String status_line) throws Exception { |
| 553 | Matcher matcher = STATUS_LINE_PATTERN3.matcher(status_line); |
| 554 | if (matcher.find()) { |
| 555 | |
| 556 | if (matcher.group(1).trim().startsWith("HTTP")) { |
| 557 | |
| 558 | analyzeResponseStatusLine(status_line); |
| 559 | } else { |
| 560 | |
| 561 | flag_request = true; |
| 562 | analyzeRequestStatusLine(status_line); |
| 563 | } |
| 564 | } |
| 565 | } |
| 566 | |
| 567 | private static byte[] getHttpBody(byte[] input_data) throws Exception { |
| 568 | byte[][] search_words = {new String("\r\n\r\n").getBytes(), new String("\n\n").getBytes(), |
no test coverage detected