Home
last modified time | relevance | path

Searched refs:addLenient (Results 1 – 12 of 12) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHeaders.java221 Builder addLenient(String line) { in addLenient() method in Headers.Builder
224 return addLenient(line.substring(0, index), line.substring(index + 1)); in addLenient()
228 return addLenient("", line.substring(1)); // Empty header name. in addLenient()
230 return addLenient("", line); // No header name. in addLenient()
246 return addLenient(name, value); in add()
253 Builder addLenient(String name, String value) { in addLenient() method in Headers.Builder
277 addLenient(name, value); in set()
DOkHttpClient.java62 @Override public void addLenient(Headers.Builder builder, String line) {
63 builder.addLenient(line);
66 @Override public void addLenient(Headers.Builder builder, String name, String value) {
67 builder.addLenient(name, value);
DCache.java534 varyHeadersBuilder.addLenient(source.readUtf8LineStrict()); in Entry()
545 responseHeadersBuilder.addLenient(source.readUtf8LineStrict()); in Entry()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DInternal.java48 public abstract void addLenient(Headers.Builder builder, String line); in addLenient() method in Internal
50 public abstract void addLenient(Headers.Builder builder, String name, String value); in addLenient() method in Internal
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java148 Internal.instance.addLenient(builder, name, trimmedValue); in createHeaders()
188 Internal.instance.addLenient(result, fieldName, fieldValue); in varyHeaders()
430 Internal.instance.addLenient(okHeadersBuilder, name, value);
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockResponse.java117 Internal.instance.addLenient(headers, name, String.valueOf(value)); in addHeaderLenient()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp1xStream.java212 Internal.instance.addLenient(headers, line); in readHeaders()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java1972 .addLenient("a\tb: c\u007fd") in responseHeaderParsingIsLenient()
1973 .addLenient(": ef") in responseHeaderParsingIsLenient()
1974 .addLenient("\ud83c\udf69: \u2615\ufe0f") in responseHeaderParsingIsLenient()
DURLConnectionTest.java2812 Internal.instance.addLenient(headers, ":A");
2855 .addLenient("a\tb: c\u007fd")
2856 .addLenient(": ef")
2857 .addLenient("\ud83c\udf69: \u2615\ufe0f")
DCacheTest.java1889 Internal.instance.addLenient(headers, ": A"); in emptyResponseHeaderNameFromCacheIsLenient()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java1584 Internal.instance.addLenient(headers, ": A"); in emptyResponseHeaderNameFromCacheIsLenient()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java1675 Internal.instance.addLenient(headers, ": A"); in emptyResponseHeaderNameFromCacheIsLenient()