Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,498 for header3 (0.13 seconds)

  1. docs_src/header_params/tutorial002_py310.py

    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        strange_header: str | None = Header(default=None, convert_underscores=False),
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 228 bytes
    - Click Count (0)
  2. docs_src/header_params/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: Annotated[str | None, Header()] = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 217 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                logger.warn("Could not parse a value of {}", META_NAME_ROBOTS_CONTENT, e);
            }
    
        }
    
        /**
         * Processes X-Robots-Tag HTTP headers.
         * Handles noindex, nofollow, and none directives from HTTP headers.
         *
         * @param responseData the response data from crawling
         * @param resultData the result data to store processed information
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  4. docs_src/header_params/tutorial003_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(x_token: Annotated[list[str] | None, Header()] = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 221 bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_number_mismatch.py

            "utf-8"
        )
    
        assert fixed_content == expected_content  # Translated doc remains unchanged
        assert "Error processing docs/lang/docs/doc.md" in result.output
        assert (
            "Number of headers with permalinks does not match the number "
            "in the original document (5 vs 4)"
        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.squareup.okhttp3.maventest;
    
    import java.io.IOException;
    
    import okhttp3.Headers;
    import okhttp3.HttpUrl;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class SampleHttpClient {
      private final OkHttpClient client;
    
      public SampleHttpClient() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 12 12:05:57 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. tests/test_dependency_contextvars.py

    
    @app.middleware("http")
    async def custom_middleware(
        request: Request, call_next: Callable[[Request], Awaitable[Response]]
    ):
        response = await call_next(request)
        response.headers["custom"] = "foo"
        return response
    
    
    @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)])
    def get_user():
        request_state = legacy_request_state_context_var.get()
        assert request_state
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/admin/scheduler/admin_scheduler_edit.jsp

    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="system"/>
            <jsp:param name="menuType" value="scheduler"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
    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)
  9. docs/es/docs/tutorial/server-sent-events.md

    ///
    
    ## Reanudar con `Last-Event-ID` { #resuming-with-last-event-id }
    
    Cuando un navegador se reconecta después de una caída de la conexión, envía el último `id` recibido en el header `Last-Event-ID`.
    
    Puedes leerlo como un parámetro de header y usarlo para reanudar el stream desde donde el cliente se quedó:
    
    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## SSE con `POST` { #sse-with-post }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/server-sent-events.md

    ///
    
    ## Resuming with `Last-Event-ID` { #resuming-with-last-event-id }
    
    When a browser reconnects after a connection drop, it sends the last received `id` in the `Last-Event-ID` header.
    
    You can read it as a header parameter and use it to resume the stream from where the client left off:
    
    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## SSE with POST { #sse-with-post }
    
    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)
Back to Top