Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 359 for porta (0.03 seconds)

  1. tests/test_tutorial/test_dependencies/test_tutorial012.py

                "X-Token": "fake-super-secret-token",
                "X-Key": "fake-super-secret-key",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    def test_get_valid_headers_users(client: TestClient):
        response = client.get(
            "/users/",
            headers={
                "X-Token": "fake-super-secret-token",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/request-form-models.md

    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    如果客户端尝试发送一些额外的数据,他们将收到**错误**响应。
    
    例如,如果客户端尝试发送这样的表单字段:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    他们将收到一条错误响应,表明字段 `extra` 是不被允许的:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 10 20:36:08 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. docs/es/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    COPY ./app /code/app
    
    CMD ["fastapi", "run", "app/main.py", "--port", "80"]
    
    # Si estás detrás de un proxy como Nginx o Traefik añade --proxy-headers
    # CMD ["fastapi", "run", "app/main.py", "--port", "80", "--proxy-headers"]
    ```
    
    </details>
    
    ## Qué es un Contenedor { #what-is-a-container }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 32K bytes
    - Click Count (0)
  4. ci/official/envs/windows_x86_2022

    TFCI_OUTPUT_WIN_DOCKER_DIR='C:/drive_t'
    
    # Docker on Windows doesn't support the `host` networking mode, and so
    # port-forwarding is required for the container to detect it's running on GCE.
    export IP_ADDR=$(powershell -command "(Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias 'vEthernet (nat)').IPAddress")
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Nov 06 19:44:26 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. docs/de/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    ```
    
    </div>
    
    /// note | Hinweis
    
    Der Befehl `uvicorn main:app` bezieht sich auf:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/request-form-models.md

    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    클라이언트가 추가 데이터를 보내려고 하면 **오류** 응답을 받게 됩니다.
    
    예를 들어, 클라이언트가 폼 필드를 보내려고 하면:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    `extra` 필드가 허용되지 않는다는 오류 응답을 받게 됩니다:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 09 12:44:27 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. cmd/server-startup-msg_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"os"
    	"reflect"
    	"testing"
    )
    
    // Tests stripping standard ports from apiEndpoints.
    func TestStripStandardPorts(t *testing.T) {
    	apiEndpoints := []string{"http://127.0.0.1:9000", "http://127.0.0.2:80", "https://127.0.0.3:443"}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. docs/en/docs/deployment/manually.md

    If you installed an ASGI server manually, you would normally need to pass an import string in a special format for it to import your FastAPI application:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    ```
    
    </div>
    
    /// note
    
    The command `uvicorn main:app` refers to:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. docs/sts/wso2.md

      - By default, `<IS_HOST>` is localhost. However, if using a public IP, the respective IP address or domain needs to be specified.
      - By default, `<IS_HTTPS_PORT>` has been set to 9443. However, if the port offset has been incremented by n, the default port value needs to be incremented by n.
    
    Request
    
    ```
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. docs/sts/dex.md

    # Dex Quickstart Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top