Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 144 for Requestbody (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .Builder()
            .url(server.url("/"))
            .method("POST", requestBody1)
            .build()
        val response1 = client.newCall(request1).execute()
        assertThat(response1.code).isEqualTo(200)
    
        // Call 2: check for the absence of a deadline on the request body.
        val requestBody2: RequestBody =
          object : RequestBody() {
            override fun contentType(): MediaType = "text/plain".toMediaType()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        assertFailsWith<IOException> {
          call.execute()
        }
        assertThat(callRef.get()).isSameInstanceAs(call)
      }
    
      private fun uppercase(original: RequestBody?): RequestBody =
        object : RequestBody() {
          override fun contentType(): MediaType? = original!!.contentType()
    
          override fun contentLength(): Long = original!!.contentLength()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

    import okhttp3.EventRecorder
    import okhttp3.MediaType
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol.HTTP_1_1
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.SimpleProvider
    import okhttp3.internal.http.CancelTest.CancelMode.CANCEL
    import okhttp3.internal.http.CancelTest.CancelMode.INTERRUPT
    import okhttp3.internal.http.CancelTest.ConnectionType.H2
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

    import okhttp3.internal.url.percentDecode
    import okio.Buffer
    import okio.BufferedSink
    
    class FormBody internal constructor(
      encodedNames: List<String>,
      encodedValues: List<String>,
    ) : RequestBody() {
      private val encodedNames: List<String> = encodedNames.toImmutableList()
      private val encodedValues: List<String> = encodedValues.toImmutableList()
    
      /** The number of key-value pairs in this form-encoded body. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

    import okhttp3.EventRecorder
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.RecordingHostnameVerifier
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.internal.duplex.MockSocketHandler
    import okhttp3.testing.PlatformRule
    import okio.ProtocolException
    import okio.buffer
    import okio.use
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 08 21:07:01 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

                                },
                            },
                            "summary": "Update Item",
                            "operationId": "update_item_items__item_id__put",
                            "requestBody": {
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/Item",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. docs/changelogs/changelog_2x.md

     *  New: `Headers.of(Map)` creates headers from a Map.
    
    
    ## Version 2.2.0
    
    _2014-12-30_
    
     *  **`RequestBody.contentLength()` now throws `IOException`.**
        This is a source-incompatible change. If you have code that calls
        `RequestBody.contentLength()`, your compile will break with this
        update. The change is binary-compatible, however: code compiled
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_optional.py

                                },
                            },
                            "summary": "Login",
                            "operationId": "login_login_post",
                            "requestBody": {
                                "content": {
                                    "application/x-www-form-urlencoded": {
                                        "schema": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body_nested_models/test_tutorial005.py

                                },
                            },
                            "summary": "Update Item",
                            "operationId": "update_item_items__item_id__put",
                            "requestBody": {
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/Item",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  10. docs/ko/docs/advanced/path-operation-advanced-configuration.md

    OpenAPI 명세에서는 이를 [Operation Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#operation-object)라고 부릅니다.
    
    ///
    
    여기에는 *경로 처리*에 대한 모든 정보가 있으며, 자동 문서를 생성하는 데 사용됩니다.
    
    `tags`, `parameters`, `requestBody`, `responses` 등이 포함됩니다.
    
    이 *경로 처리* 전용 OpenAPI 스키마는 보통 **FastAPI**가 자동으로 생성하지만, 확장할 수도 있습니다.
    
    /// tip | 팁
    
    이는 저수준 확장 지점입니다.
    
    추가 응답만 선언하면 된다면, 더 편리한 방법은 [OpenAPI의 추가 응답](additional-responses.md)을 사용하는 것입니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.6K bytes
    - Click Count (0)
Back to Top