Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 86 for bliain (0.06 seconds)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

                MediaType.create("TEXT", "PLAIN"),
                MediaType.parse("text/plain"),
                MediaType.parse("TEXT/PLAIN"),
                MediaType.parse("text /plain"),
                MediaType.parse("TEXT/ plain"),
                MediaType.parse("text / plain"),
                MediaType.create("text", "plain").withParameter("a", "1").withoutParameters())
            .addEqualityGroup(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  2. tests/test_sse.py

    async def sse_items_string():
        yield ServerSentEvent(data="plain text data")
    
    
    @app.post("/items/stream-post", response_class=EventSourceResponse)
    async def sse_items_post() -> AsyncIterable[Item]:
        for item in items:
            yield item
    
    
    @app.get("/items/stream-raw", response_class=EventSourceResponse)
    async def sse_items_raw():
        yield ServerSentEvent(raw_data="plain text without quotes")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  3. fastapi/.agents/skills/fastapi/references/streaming.md

        for item in items:
            yield item
    ```
    
    ## Server-Sent Events (SSE)
    
    To stream Server-Sent Events, use `response_class=EventSourceResponse` and `yield` items from the endpoint.
    
    Plain objects are automatically JSON-serialized as `data:` fields, declare the return type so the serialization is done by Pydantic:
    
    ```python
    from collections.abc import AsyncIterable
    
    from fastapi import FastAPI
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        assertFailsWith<IllegalArgumentException> {
          Request.Builder().method("GET", "abc".toRequestBody("text/plain".toMediaType()))
        }
      }
    
      @Test
      fun head() {
        server.enqueue(
          MockResponse(
            headers = headersOf("Content-Type", "text/plain"),
          ),
        )
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .head()
    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)
  5. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

          return new MockResponse()
              .setStatus("HTTP/1.1 404")
              .addHeader("content-type: text/plain; charset=utf-8")
              .setBody("NOT FOUND: " + path);
        } catch (IOException e) {
          return new MockResponse()
              .setStatus("HTTP/1.1 500")
              .addHeader("content-type: text/plain; charset=utf-8")
              .setBody("SERVER ERROR: " + e);
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. docs/en/docs/deployment/https.md

    <img src="/img/deployment/https/https05.drawio.svg">
    
    ### HTTP Response { #http-response }
    
    The application would process the request and send a **plain (unencrypted) HTTP response** to the TLS Termination Proxy.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 14K bytes
    - Click Count (0)
  7. fastapi/sse.py

        (`text/event-stream`).
    
        If you yield a plain object (dict, Pydantic model, etc.) instead, it is
        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).
        """
    
    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. tensorflow/BUILD

    # TODO(b/173549186): Move Google-internal TF code out of learning/brain
    package_group(
        name = "internal",
        packages = [
            "//devtools/python/indexer/...",
            "//learning/brain/keras/...",
            "//learning/brain/mlir/...",
            "//learning/brain/tfrt/...",
            "//learning/lib/ami/simple_ml/...",
            "//learning/pathways/...",
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
  9. docs/en/data/translators.yml

      url: https://github.com/nayeonkinn
    pe-brian:
      login: pe-brian
      count: 3
      avatarUrl: https://avatars.githubusercontent.com/u/1783138?u=7e6242eb9e85bcf673fa88bbac9dd6dc3f03b1b5&v=4
      url: https://github.com/pe-brian
    maxscheijen:
      login: maxscheijen
      count: 3
      avatarUrl: https://avatars.githubusercontent.com/u/47034840?v=4
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 07:31:54 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/path-operation-configuration.md

    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    {* ../../docs_src/path_operation_configuration/tutorial002b_py310.py hl[1,8:10,13,18] *}
    
    ## Summary and description { #summary-and-description }
    
    You can add a `summary` and `description`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top