Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 149 for Requestbody (0.09 seconds)

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

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

      fun multipartBodyPart() {
        val multipartBody: MultipartBody = MultipartBody.Builder().build()
        val part: MultipartBody.Part = multipartBody.part(0)
        val headers: Headers? = part.headers()
        val body: RequestBody = part.body()
      }
    
      @Test @Disabled
      fun okHttpClient() {
        val client = OkHttpClient()
        val dispatcher: Dispatcher = client.dispatcher()
        val proxy: Proxy? = client.proxy()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_updates/test_tutorial002.py

                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {"$ref": "#/components/schemas/Item"}
                                }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_response_model/test_tutorial002.py

                                },
                            },
                        },
                        "summary": "Create User",
                        "operationId": "create_user_user__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {"$ref": "#/components/schemas/UserIn"}
                                }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_schema_extra_example/test_tutorial001.py

                                "required": True,
                                "schema": {"type": "integer", "title": "Item Id"},
                            }
                        ],
                        "requestBody": {
                            "required": True,
                            "content": {
                                "application/json": {
                                    "schema": {"$ref": "#/components/schemas/Item"}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_schema_extra_example/test_tutorial002.py

                                "required": True,
                                "schema": {"type": "integer", "title": "Item Id"},
                            }
                        ],
                        "requestBody": {
                            "required": True,
                            "content": {
                                "application/json": {
                                    "schema": {"$ref": "#/components/schemas/Item"}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. tests/test_union_inherited_body.py

                            },
                        },
                        "summary": "Save Union Different Body",
                        "operationId": "save_union_different_body_items__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {
                                        "title": "Item",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

                                },
                            },
                        },
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Item",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

        Thread.sleep(250)
        response.body.source().readUtf8()
        response.close()
        assertThat(call.isCanceled()).isFalse()
      }
    
      private fun sleepingRequestBody(sleepMillis: Int): RequestBody =
        object : RequestBody() {
          override fun contentType(): MediaType? = "text/plain".toMediaTypeOrNull()
    
          @Throws(IOException::class)
          override fun writeTo(sink: BufferedSink) {
            try {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Item",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top