mirror of
https://github.com/square/okhttp.git
synced 2026-01-25 16:01:38 +03:00
spdy 3 support length 0 header value
This commit is contained in:
@@ -261,7 +261,6 @@ final class Spdy3 implements Variant {
|
||||
String name = readString();
|
||||
String values = readString();
|
||||
if (name.length() == 0) throw ioException("name.length == 0");
|
||||
if (values.length() == 0) throw ioException("values.length == 0");
|
||||
entries.add(name);
|
||||
entries.add(values);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user