Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 289 for Cookie2 (0.29 sec)

  1. src/vendor/golang.org/x/net/http2/hpack/static_table.go

    		"content-language":            27,
    		"content-length":              28,
    		"content-location":            29,
    		"content-range":               30,
    		"content-type":                31,
    		"cookie":                      32,
    		"date":                        33,
    		"etag":                        34,
    		"expect":                      35,
    		"expires":                     36,
    		"from":                        37,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 22:32:44 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Headers.kt

       * followed by a newline character `\n`.
       *
       * Since OkHttp 5 this redacts these sensitive headers:
       *
       *  * `Authorization`
       *  * `Cookie`
       *  * `Proxy-Authorization`
       *  * `Set-Cookie`
       */
      override fun toString(): String = commonToString()
    
      fun toMultimap(): Map<String, List<String>> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial005_an.py

    from typing import Union
    
    from fastapi import Cookie, Depends, FastAPI
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    def query_extractor(q: Union[str, None] = None):
        return q
    
    
    def query_or_cookie_extractor(
        q: Annotated[str, Depends(query_extractor)],
        last_query: Annotated[Union[str, None], Cookie()] = None,
    ):
        if not q:
            return last_query
        return q
    
    
    @app.get("/items/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 558 bytes
    - Viewed (0)
  4. pilot/pkg/networking/grpcgen/grpcgen_test.go

    							proto.Unmarshal(ss.GetSessionState().TypedConfig.Value, sc)
    						}
    					}
    				}
    			}
    		}
    		if sc.Cookie == nil {
    			t.Fatal("Failed to find session cookie")
    		}
    		if filterIndex == (len(hcm.HttpFilters) - 1) {
    			t.Fatal("session-cookie-filter cannot be the last filter!")
    		}
    		if sc.Cookie.Name != "test-cookie" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. docs/es/docs/advanced/response-change-status-code.md

    Para esos casos, puedes usar un parámetro `Response`.
    
    ## Usar un parámetro `Response`
    
    Puedes declarar un parámetro de tipo `Response` en tu *función de la operación de path* (como puedes hacer para cookies y headers).
    
    Y luego puedes establecer el `status_code` en ese objeto de respuesta *temporal*.
    
    ```Python hl_lines="1  9  12"
    {!../../../docs_src/response_change_status_code/tutorial001.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Feb 06 19:56:23 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/header-params.md

    # Header-параметры
    
    Вы можете определить параметры заголовка таким же образом, как вы определяете параметры `Query`, `Path` и `Cookie`.
    
    ## Импорт `Header`
    
    Сперва импортируйте `Header`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an_py39.py!}
        ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. fastapi/__init__.py

    from .exceptions import HTTPException as HTTPException
    from .exceptions import WebSocketException as WebSocketException
    from .param_functions import Body as Body
    from .param_functions import Cookie as Cookie
    from .param_functions import Depends as Depends
    from .param_functions import File as File
    from .param_functions import Form as Form
    from .param_functions import Header as Header
    from .param_functions import Path as Path
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:50:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. docs_src/websockets/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import (
        Cookie,
        Depends,
        FastAPI,
        Query,
        WebSocket,
        WebSocketException,
        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. docs_src/websockets/tutorial002_py310.py

    from fastapi import (
        Cookie,
        Depends,
        FastAPI,
        Query,
        WebSocket,
        WebSocketException,
        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/net/http/61472.md

    The new [Request.CookiesNamed] method retrieves all cookies that match the given name....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 18:08:20 UTC 2024
    - 87 bytes
    - Viewed (0)
Back to top