1
0
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:
lingming
2013-08-14 11:52:54 +08:00
parent 5b076fbe4a
commit d3a92ff9d5

View File

@@ -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);
}