Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1241 - 1250 of 3,002 for content (0.09 seconds)

  1. docs_src/response_directly/tutorial001_py310.py

        description: str | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{id}")
    def update_item(id: str, item: Item):
        json_compatible_item_data = jsonable_encoder(item)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 474 bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/stream-data.md

    Você pode criar uma subclasse personalizada de `StreamingResponse` que define o cabeçalho `Content-Type` para o tipo de dado que você está transmitindo.
    
    Por exemplo, você pode criar um `PNGStreamingResponse` que define o cabeçalho `Content-Type` como `image/png` usando o atributo `media_type`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  3. cmd/testdata/xl.meta

    ��Versions���Type�V2Obj��ID��DDir�p��w�A��:�_��EcAlgo�EcM�EcN�EcBSize���EcIndex�EcDist��CSumAlgo�PartNums��PartETags���PartSizes��R�PartASizes��R�Size�R�MTime�X�\G��
    �MetaSys��MetaUsr��etag� eb460a70e9e7eb0f36b2e28512318bb0�content-type�application/json...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 11 10:27:04 GMT 2021
    - 303 bytes
    - Click Count (0)
  4. docs_src/handling_errors/tutorial005_py310.py

    app = FastAPI()
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request: Request, exc: RequestValidationError):
        return JSONResponse(
            status_code=422,
            content=jsonable_encoder({"detail": exc.errors(), "body": exc.body}),
        )
    
    
    class Item(BaseModel):
        title: str
        size: int
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 626 bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/cors.md

    * `allow_headers` - Список HTTP-заголовков запроса, которые должны поддерживаться при кросс-доменных запросах. По умолчанию `[]`. Можно использовать `['*']`, чтобы разрешить все заголовки. Заголовки `Accept`, `Accept-Language`, `Content-Language` и `Content-Type` всегда разрешены для [простых CORS-запросов](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests).
    * `allow_credentials` - Указывает, что куки разрешены в кросс-доменных запросах. По умолчанию `False`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  6. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Néanmoins, nous pouvons déclarer le schéma attendu pour le corps de la requête.
    
    ### Type de contenu OpenAPI personnalisé { #custom-openapi-content-type }
    
    En utilisant cette même astuce, vous pourriez utiliser un modèle Pydantic pour définir le JSON Schema qui est ensuite inclus dans la section de schéma OpenAPI personnalisée pour le chemin d’accès.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8K bytes
    - Click Count (0)
  7. src/archive/tar/common.go

    //		{Offset: 0,  Length: 2},  // Hole fragment for 0..1
    //		{Offset: 7,  Length: 11}, // Hole fragment for 7..17
    //		{Offset: 21, Length: 4},  // Hole fragment for 21..24
    //	}
    //
    // Then the content of the resulting sparse file with a Header.Size of 25 is:
    //
    //	var sparseFile = "\x00"*2 + "abcde" + "\x00"*11 + "fgh" + "\x00"*4
    type (
    	sparseDatas []sparseEntry
    	sparseHoles []sparseEntry
    )
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  8. src/main/webapp/css/admin/adminlte.min.css.map

    !important;\n  flex-shrink: 1 !important;\n}\n\n.justify-content-start {\n  -ms-flex-pack: start !important;\n  justify-content: flex-start !important;\n}\n\n.justify-content-end {\n  -ms-flex-pack: end !important;\n  justify-content: flex-end !important;\n}\n\n.justify-content-center {\n  -ms-flex-pack: center !important;\n  justify-content: center !important;\n}\n\n.justify-content-between {\n  -ms-flex-pack: justify !important;\n  justify-content: space-between !important;\n}\n\n.justify-content-around...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 3.7M bytes
    - Click Count (3)
  9. tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py

                            "responses": {
                                "200": {
                                    "description": "Successful Response",
                                    "content": {"application/json": {"schema": {}}},
                                }
                            },
                        }
                    }
                },
                "servers": [{"url": "/api/v1"}],
            }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  10. src/bufio/bufio_test.go

    			w.Reset()
    			buf := NewWriterSize(w, bs)
    			context := fmt.Sprintf("nwrite=%d bufsize=%d", nwrite, bs)
    			n, e1 := buf.Write(data[0:nwrite])
    			if e1 != nil || n != nwrite {
    				t.Errorf("%s: buf.Write %d = %d, %v", context, nwrite, n, e1)
    				continue
    			}
    			if e := buf.Flush(); e != nil {
    				t.Errorf("%s: buf.Flush = %v", context, e)
    			}
    
    			written := w.Bytes()
    			if len(written) != nwrite {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
Back to Top