Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1951 - 1960 of 2,868 for detailed (0.31 seconds)

  1. docs/zh-hant/docs/tutorial/server-sent-events.md

    SSE 可搭配**任何 HTTP 方法**,不僅限於 `GET`。
    
    這對於像是透過 `POST` 串流 SSE 的協定(例如 [MCP](https://modelcontextprotocol.io))很有用:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## 技術細節 { #technical-details }
    
    FastAPI 內建實作了一些 SSE 的最佳實務。
    
    - 當 15 秒內沒有任何訊息時,傳送一次**「保活」`ping` 註解**,以避免某些代理伺服器關閉連線;此作法源自於[HTML 規範: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: Fri Mar 20 14:33:04 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. cmd/policy_test.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"reflect"
    	"testing"
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  3. cmd/metrics-v3-cache.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"sync"
    	"time"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. cmd/metrics-v3-system-drive.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"strconv"
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. cmd/xl-storage-format-v2-legacy.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"time"
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/cors.md

    ## Más info { #more-info }
    
    Para más información sobre <abbr title="Cross-Origin Resource Sharing">CORS</abbr>, revisa la [documentación de CORS de Mozilla](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.middleware.cors import CORSMiddleware`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/security/simple-oauth2.md

    点击小锁图标,注销后,再执行同样的操作,则会得到 HTTP 401 错误:
    
    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### 未激活用户 { #inactive-user }
    
    测试未激活用户,输入以下信息,进行身份验证:
    
    用户名:`alice`
    
    密码:`secret2`
    
    然后,执行 `/users/me` 路径的 `GET` 操作。
    
    显示下列**未激活用户**错误信息:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## 小结 { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. docs/pt/docs/async.md

    Mas, seguindo os passos acima, ele será capaz de fazer algumas otimizações de performance.
    
    ## Detalhes Técnicos { #technical-details }
    
    Versões modernas de Python têm suporte para **"código assíncrono"** usando algo chamado **"corrotinas"**, com sintaxe **`async` e `await`**.
    
    Vamos ver aquela frase por partes nas seções abaixo:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 25.2K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/cookie-param-models.md

    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["cookie", "santa_tracker"],
                "msg": "Extra inputs are not permitted",
                "input": "good-list-please",
            }
        ]
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/query-params.md

    这里的查询参数 `needy` 是类型为 `str` 的必选查询参数。
    
    在浏览器中打开如下 URL:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...因为路径中没有必选参数 `needy`,返回的响应中会显示如下错误信息:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.2K bytes
    - Click Count (0)
Back to Top