- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 9,187 for code (0.04 sec)
-
src/cmd/vendor/rsc.io/markdown/code.go
} buf.WriteString("<pre><code") if b.Info != "" { // https://spec.commonmark.org/0.30/#info-string // “The first word of the info string is typically used to // specify the language of the code sample...” // No definition of what “first word” means though. // The Dingus splits on isUnicodeSpace, but Goldmark only uses space. lang := b.Info for i, c := range lang { if isUnicodeSpace(c) { lang = lang[:i] break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 4.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/response-status-code.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 22:40:18 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-status-code.md
!!! note "기술적 세부사항" `from starlette import status` 역시 사용할 수 있습니다. **FastAPI**는 개발자인 여러분의 편의를 위해 `fastapi.status` 와 동일한 `starlette.status` 도 제공합니다. 하지만 이것은 Starlette로부터 직접 제공됩니다. ## 기본값 변경
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 14 15:06:53 UTC 2024 - 4.8K bytes - Viewed (0) -
docs/de/docs/tutorial/response-status-code.md
<img src="/img/tutorial/response-status-code/image02.png"> !!! note "Technische Details" Sie können auch `from starlette import status` verwenden. **FastAPI** bietet dieselben `starlette.status`-Codes auch via `fastapi.status` an, als Annehmlichkeit für Sie, den Entwickler. Sie kommen aber direkt von Starlette. ## Den Defaultwert ändern
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:32:57 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-status-code.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jan 15 15:42:08 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}. But in some cases you need to return a different status code than the default. ## Use case For example, imagine that you want to return an HTTP status code of "OK" `200` by default. But if the data didn't exist, you want to create it, and return an HTTP status code of "CREATED" `201`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Jan 11 16:31:18 UTC 2024 - 1.5K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
Lóránt Pintér <******@****.***> 1716901638 +0200
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:36 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/es/docs/advanced/response-change-status-code.md
# Response - Cambiar el Status Code Probablemente ya has leído con anterioridad que puedes establecer un [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank} por defecto. Pero en algunos casos necesitas retornar un status code diferente al predeterminado. ## Casos de uso Por ejemplo, imagina que quieres retornar un HTTP status code de "OK" `200` por defecto.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Feb 06 19:56:23 UTC 2024 - 1.6K bytes - Viewed (0) -
docs/de/docs/advanced/response-change-status-code.md
# Response – Statuscode ändern Sie haben wahrscheinlich schon vorher gelesen, dass Sie einen Standard-[Response-Statuscode](../tutorial/response-status-code.md){.internal-link target=_blank} festlegen können. In manchen Fällen müssen Sie jedoch einen anderen als den Standard-Statuscode zurückgeben. ## Anwendungsfall Stellen Sie sich zum Beispiel vor, Sie möchten standardmäßig den HTTP-Statuscode „OK“ `200` zurückgeben.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:18:58 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/en/docs/advanced/additional-status-codes.md
# Additional Status Codes By default, **FastAPI** will return the responses using a `JSONResponse`, putting the content you return from your *path operation* inside of that `JSONResponse`. It will use the default status code or the one you set in your *path operation*. ## Additional status codes
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 2.6K bytes - Viewed (0)