GZIPInputStream - Corrupt GZIP Trailer
问题 I have a static helper method responsible for getting a compressed JSON string from our Rails application, and decompressing the data before returning a String representation. I wrote two JUnit tests that, one that tests that the JSON parses correctly, and another more basic test that determines whether a string of length greater than zero is returned from the server. The problem: When I run the test suite, the first test method succeeds properly, and the other fails with an IOException and