Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Transfer (0.16 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        /** Sets the status and returns this. */
        fun status(status: String) =
          apply {
            this.status = status
          }
    
        /**
         * Removes all HTTP headers including any "Content-Length" and "Transfer-encoding" headers that
         * were added by default.
         */
        fun clearHeaders() =
          apply {
            headers = Headers.Builder()
          }
    
        /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

          body = null
          webSocketListener = listener
        }
    
      override fun toString(): String = status
    
      companion object {
        private const val CHUNKED_BODY_HEADER = "Transfer-encoding: chunked"
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top