(byte[] input_data)
| 630 | } |
| 631 | |
| 632 | private static byte[] gzip(byte[] input_data) throws Exception { |
| 633 | ByteArrayOutputStream out = new ByteArrayOutputStream(); |
| 634 | GZIPOutputStream gout = new GZIPOutputStream(out); |
| 635 | gout.write(input_data); |
| 636 | gout.close(); |
| 637 | return out.toByteArray(); |
| 638 | } |
| 639 | |
| 640 | private static byte[] getChankedHttpBodyFussy(byte[] input_data) throws Exception { |
| 641 | // TODO 改行コードの対応 |
no test coverage detected