From a70191a9a4d15f41fdf411c92c71452c151d61bb Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Tue, 6 May 2014 16:16:47 -0700 Subject: [PATCH] OkHttp has broken headers. Updating for ASF compliance. --- .../squareup/okhttp/internal/spdy/ErrorCode.java | 16 ++++++++++++++++ .../com/squareup/okhttp/internal/spdy/Hpack.java | 16 ++++++++++++++++ .../internal/spdy/NameValueBlockReader.java | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/framework/src/com/squareup/okhttp/internal/spdy/ErrorCode.java b/framework/src/com/squareup/okhttp/internal/spdy/ErrorCode.java index d3a32e11..04d7bb85 100755 --- a/framework/src/com/squareup/okhttp/internal/spdy/ErrorCode.java +++ b/framework/src/com/squareup/okhttp/internal/spdy/ErrorCode.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.squareup.okhttp.internal.spdy; public enum ErrorCode { diff --git a/framework/src/com/squareup/okhttp/internal/spdy/Hpack.java b/framework/src/com/squareup/okhttp/internal/spdy/Hpack.java index c3ca8f11..29f41896 100755 --- a/framework/src/com/squareup/okhttp/internal/spdy/Hpack.java +++ b/framework/src/com/squareup/okhttp/internal/spdy/Hpack.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.squareup.okhttp.internal.spdy; import java.io.DataInputStream; diff --git a/framework/src/com/squareup/okhttp/internal/spdy/NameValueBlockReader.java b/framework/src/com/squareup/okhttp/internal/spdy/NameValueBlockReader.java index b95d0138..1b07e8f7 100755 --- a/framework/src/com/squareup/okhttp/internal/spdy/NameValueBlockReader.java +++ b/framework/src/com/squareup/okhttp/internal/spdy/NameValueBlockReader.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.squareup.okhttp.internal.spdy; import com.squareup.okhttp.internal.Util;