Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1511 - 1520 of 1,855 for messages (0.14 seconds)

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

        assertFailsWith<IllegalArgumentException> {
          Headers
            .Builder()
            .addUnsafeNonAscii("héader1", "value1")
            .build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected char 0xe9 at 1 in header name: héader1")
        }
      }
    
      @Test fun addUnsafeNonAsciiAcceptsUnicodeValue() {
        val headers =
          Headers
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. tests/test_annotated.py

                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  3. tests/test_security_oauth2_optional.py

                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
    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)
  4. internal/logger/audit.go

    package logger
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strconv"
    	"time"
    
    	"github.com/minio/madmin-go/v3/logger/audit"
    	internalAudit "github.com/minio/minio/internal/logger/message/audit"
    	"github.com/minio/minio/internal/mcontext"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const contextAuditKey = contextKeyType("audit-entry")
    
    // SetAuditEntry sets Audit info in the context.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/admin/scheduler/admin_scheduler_edit.jsp

                                </div>
                                <div class="card-body">
                                    <div>
                                        <la:info id="msg" message="true">
                                            <div class="alert alert-success">${msg}</div>
                                        </la:info>
                                        <la:errors property="_global"/>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/server-sent-events.md

    ## Technical Details { #technical-details }
    
    FastAPI implements some SSE best practices out of the box.
    
    * Send a **"keep alive" `ping` comment** every 15 seconds when there hasn't been any message, to prevent some proxies from closing the connection, as suggested in the [HTML specification: Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#authoring-notes).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. fastapi/sse.py

            str | None,
            Doc(
                """
                Optional event type name.
    
                Maps to `addEventListener(event, ...)` on the browser. When omitted,
                the browser dispatches on the generic `message` event.
                """
            ),
        ] = None
        id: Annotated[
            str | None,
            AfterValidator(_check_id_no_null),
            Doc(
                """
                Optional event ID.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *}
    
    现在,不再是返回:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...这个响应将返回:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    当然,你很可能会找到比格式化 JSON 更好的方式来利用这一点。😉
    
    ### `orjson` 或响应模型 { #orjson-or-response-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

            is IllegalArgumentException -> {
              assertEquals("Android internal error", ioe.message)
            }
    
            is CertificateException -> {
              assertTrue(ioe.cause?.cause is IllegalArgumentException)
              assertEquals(
                true,
                ioe.cause
                  ?.cause
                  ?.message
                  ?.startsWith("Invalid input to toASCII"),
              )
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            }
        }
    
        private void handleChecksumFailure(String checksumPolicy, String message, Throwable cause)
                throws ChecksumFailedException {
            if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL.equals(checksumPolicy)) {
                throw new ChecksumFailedException(message, cause);
            } else if (!ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals(checksumPolicy)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
Back to Top