Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 794 for yellow (0.04 seconds)

  1. .github/workflows/multipart/nginx-site2.conf

            server site2-minio4:9000;
        }
    
        server {
            listen       9002;
            listen  [::]:9002;
            server_name  localhost;
    
            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Click Count (0)
  2. docs_src/app_testing/tutorial001_py310.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_read_main():
        response = client.get("/")
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 334 bytes
    - Click Count (0)
  3. docs/ru/docs/advanced/behind-a-proxy.md

    ///
    
    ### Включить пересылаемые заголовки прокси { #enable-proxy-forwarded-headers }
    
    Вы можете запустить FastAPI CLI с опцией командной строки `--forwarded-allow-ips` и передать IP‑адреса, которым следует доверять при чтении этих пересылаемых заголовков.
    
    Если указать `--forwarded-allow-ips="*"`, приложение будет доверять всем входящим IP.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  4. docs/uk/docs/advanced/behind-a-proxy.md

    ///
    
    ### Увімкнути направлені заголовки представника { #enable-proxy-forwarded-headers }
    
    Ви можете запустити FastAPI CLI з *опцією CLI* `--forwarded-allow-ips` і передати IP-адреси, яким слід довіряти для читання цих направлених заголовків.
    
    Якщо ви встановите `--forwarded-allow-ips="*"`, це означатиме довіру до всіх вхідних IP.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTagsTest.kt

            .Builder()
            .url("https://square.com/".toHttpUrl())
            .tag(Integer::class, 5 as Integer)
            .tag(String::class, "hello")
            .build()
        val call = client.newCall(request)
    
        // Check the Kotlin-focused APIs.
        assertThat(call.tag(String::class)).isEqualTo("hello")
        assertThat(call.tag(Integer::class)).isEqualTo(5)
        assertThat(call.tag(Boolean::class)).isNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Oct 26 14:54:46 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. tests/test_orjson_response_class.py

        key = quoted_name(value="msg", quote=False)
        return {key: "Hello World", 1: 1}
    
    
    client = TestClient(app)
    
    
    def test_orjson_non_str_keys():
        with warnings.catch_warnings():
            warnings.simplefilter("ignore", FastAPIDeprecationWarning)
            with client:
                response = client.get("/orjson_non_str_keys")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:34:59 GMT 2026
    - 846 bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

    import java.util.Spliterator;
    import java.util.Spliterators;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Collection} whose contents will never change, and which offers a few additional
     * guarantees detailed below.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
     * with {@link Collection} itself). Prefer subtypes such as {@link ImmutableSet} or {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  8. fastapi/sse.py

        automatically JSON-encoded and sent as the `data:` field.
    
        All `data` values **including plain strings** are JSON-serialized.
    
        For example, `data="hello"` produces `data: "hello"` on the wire (with
        quotes).
        """
    
        data: Annotated[
            Any,
            Doc(
                """
                The event payload.
    
    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)
  9. cmd/api-response_test.go

    	writeResponse(trw, 299, []byte("hello"), "application/foo")
    
    	resp := rw.Result()
    	if resp.StatusCode != 299 {
    		t.Fatal("response wasn't written")
    	}
    }
    
    func TestWriteResponseHeadersWritten(t *testing.T) {
    	rw := httptest.NewRecorder()
    	rw.Code = -1
    	trw := &trackingResponseWriter{ResponseWriter: rw, headerWritten: true}
    
    	writeResponse(trw, 200, []byte("hello"), "application/foo")
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        // Cause the cache trim job to fail.
        filesystem.setFaultyDelete(cacheDir / "a.0", true)
        taskFaker.runNextTask()
    
        // Confirm we still allow snapshot reads after a trim failure.
        assertValue("a", "aa", "aa")
        assertValue("b", "bb", "bbb")
    
        // Allow the test to clean up.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
      }
    
      @Test
      fun cleanupTrimFailurePreventsSnapshotWrites() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
Back to Top