Skip to content

Commit

Permalink
Make GzipUploadInterceptor public again
Browse files Browse the repository at this point in the history
  • Loading branch information
jingtang10 committed May 31, 2024
1 parent 5b9a3c8 commit 6eee4ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023-2024 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -28,7 +28,7 @@ import okio.buffer
const val CONTENT_ENCODING_HEADER_NAME = "Content-Encoding"

/** Compresses upload requests with gzip. */
internal object GzipUploadInterceptor : Interceptor {
object GzipUploadInterceptor : Interceptor {
override fun intercept(chain: Interceptor.Chain): Response {
val uncompressedRequest = chain.request()
if (uncompressedRequest.body == null) {
Expand Down

0 comments on commit 6eee4ce

Please sign in to comment.