mirror of
https://github.com/square/okhttp.git
synced 2025-11-24 18:41:06 +03:00
Add parse overload which fails on invalid inputs
This commit is contained in:
@@ -53,7 +53,7 @@ import static org.junit.Assert.fail;
|
||||
import static org.junit.Assume.assumeThat;
|
||||
|
||||
public final class HttpLoggingInterceptorTest {
|
||||
private static final MediaType PLAIN = MediaType.parse("text/plain; charset=utf-8");
|
||||
private static final MediaType PLAIN = MediaType.get("text/plain; charset=utf-8");
|
||||
|
||||
@Rule public final MockWebServer server = new MockWebServer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user