Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1181 - 1190 of 1,334 for headerKV (0.09 seconds)

  1. cmd/os_unix.go

    	dirent := (*syscall.Dirent)(unsafe.Pointer(&buf[0]))
    	if v := unsafe.Offsetof(dirent.Reclen) + unsafe.Sizeof(dirent.Reclen); uintptr(len(buf)) < v {
    		return consumed, nil, typ, fmt.Errorf("buf size of %d smaller than dirent header size %d", len(buf), v)
    	}
    	if len(buf) < int(dirent.Reclen) {
    		return consumed, nil, typ, fmt.Errorf("buf size %d < record length %d", len(buf), dirent.Reclen)
    	}
    	consumed = int(dirent.Reclen)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/MediaType.java

     * lowercase, but all others are left as-is.
     *
     * <p>Note that this specifically does <strong>not</strong> represent the value of the MIME {@code
     * Content-Type} header and as such has no support for header-specific considerations such as line
     * folding and comments.
     *
     * <p>For media types that take a charset the predefined constants default to UTF-8 and have a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/bigger-applications.md

    Ahora utilizaremos una dependencia simple para leer un header `X-Token` personalizado:
    
    {* ../../docs_src/bigger_applications/app_an_py310/dependencies.py hl[3,6:8] title["app/dependencies.py"] *}
    
    /// tip | Consejo
    
    Estamos usando un header inventado para simplificar este ejemplo.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 20.2K bytes
    - Click Count (0)
  4. docs/tr/docs/python-types.md

    * **Editör desteği**.
    * **Tip kontrolleri**.
    
    ...ve **FastAPI** aynı bildirimleri şunlar için de kullanır:
    
    * **Gereksinimleri tanımlamak**: request path parameters, query parameters, headers, bodies, bağımlılıklar (dependencies), vb.
    * **Veriyi dönüştürmek**: request'ten gerekli tipe.
    * **Veriyi doğrulamak**: her request'ten gelen veriyi:
        * Veri geçersiz olduğunda client'a dönen **otomatik hatalar** üretmek.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  5. src/main/webapp/js/admin/adminlte.min.js

    " "+Q);if(0===o&&0===i)t.css({bottom:a.footer,top:a.header}),r.css("height",a.window-(a.header+a.footer));else if(i<=a.footer)if(!1===s){var d=a.header-o;t.css("bottom",a.footer-i).css("top",d>=0?d:0),r.css("height",a.window-(a.footer-i))}else t.css("bottom",a.footer);else o<=a.header?!1===l?(t.css("top",a.header-o),r.css("height",a.window-(a.header-o))):t.css("top",a.header):!1===l?(t.css("top",0),r.css("height",a.window)):t.css("top",a.header);s&&l?(r.css("height","100%"),t.css("height","")):(...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 45.3K bytes
    - Click Count (0)
  6. docs/en/docs/alternatives.md

    Find ways to get great performance.
    
    Along with Hug (as Hug is based on Falcon) inspired **FastAPI** to declare a `response` parameter in functions.
    
    Although in FastAPI it's optional, and is used mainly to set headers, cookies, and alternative status codes.
    
    ///
    
    ### [Molten](https://moltenframework.com/) { #molten }
    
    I discovered Molten in the first stages of building **FastAPI**. And it has quite similar ideas:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  7. README.md

        * JSON.
        * Path parameters.
        * Query parameters.
        * Cookies.
        * Headers.
        * Forms.
        * Files.
    * <dfn title="also known as: serialization, parsing, marshalling">Conversion</dfn> of output data: converting from Python data and types to network data (as JSON):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/handling-errors.md

    }
    ```
    
    /// tip
    
    在 raise 一個 `HTTPException` 時,你可以將任何可轉為 JSON 的值作為 `detail` 參數,不只限於 `str`。
    
    你可以傳入 `dict`、`list` 等。
    
    **FastAPI** 會自動處理並轉為 JSON。
    
    ///
    
    ## 新增自訂標頭 { #add-custom-headers }
    
    有些情況需要在 HTTP 錯誤回應中加入自訂標頭,例如某些安全性情境。
    
    你大概不需要在程式碼中直接使用。
    
    但若你在進階情境中需要,可以這樣加入自訂標頭:
    
    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    ## 安裝自訂例外處理器 { #install-custom-exception-handlers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  9. cmd/metrics-v2.go

    		mfs, err := gatherers.Gather()
    		if err != nil && len(mfs) == 0 {
    			writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), err), r.URL)
    			return
    		}
    
    		contentType := expfmt.Negotiate(r.Header)
    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  10. cmd/admin-handlers-users.go

    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    			name:    filename,
    			size:    int64(sz),
    			mode:    0o600,
    			modTime: time.Now(),
    			isDir:   false,
    			sys:     nil,
    		})
    		if zerr != nil {
    			adminLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    		zwriter, zerr := zipWriter.CreateHeader(header)
    		if zerr != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
Back to Top