Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 267 for 8080 (0.05 seconds)

  1. docs/zh-hant/docs/advanced/strict-content-type.md

    - 應用在本機(例如 `localhost`)或內部網路中執行
    - 並且應用沒有任何身分驗證,假設同一個網路中的任何請求都可被信任
    
    ## 攻擊範例 { #example-attack }
    
    假設你打造了一個在本機執行 AI 代理(AI agent)的方法。
    
    它提供一個 API:
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    同時也有一個前端:
    
    ```
    http://localhost:8000
    ```
    
    /// tip | 提示
    
    請注意兩者的主機(host)相同。
    
    ///
    
    接著你可以透過前端讓 AI 代理代你執行動作。
    
    由於它在本機執行、而非公開的網際網路上,你決定不設定任何身分驗證,只信任對本機網路的存取。
    
    然後你的某位使用者可能安裝並在本機執行它。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/debugging.md

    ```
    
    </div>
    
    then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`.
    
    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/debugging.md

    </div>
    
    alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`.
    
    Ainsi, la section :
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    va s'exécuter.
    
    ---
    
    Cela ne se produira pas si vous importez ce module (fichier).
    
    Par exemple, si vous avez un autre fichier `importer.py` qui contient :
    
    ```Python
    from myapp import app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  4. internal/s3select/simdj/testdata/parking-citations-10.json.zst

    ,"Color":"BL","Location":"SUNSET/ALVARADO","Route":"00217","Agency":1,"ViolationCode":"8070","ViolationDescr":"PARK IN GRID LOCK ZN","Fine":163,"Latitude":99999,"Longitude":99999} {"Ticket":1106500463,"IssueData":"2015-12-17T00:00:00","IssueTime":"1710","RPState":"CA","PlateExpiry":"201602","Make":"TOYO","BodyStyle":"PA","Color":"BK","Location":"SUNSET/ALVARADO","Route":"00217","Agency":1,"ViolationCode":"8070","ViolationDescr":"PARK IN GRID LOCK ZN","Fine":163,"Latitude":99999,"Longitude":99999}...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 693 bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

                    Arguments.of(800L, 800L, "800 B"),
    
                    // Kilobytes tests
                    Arguments.of(0L, 8000L, "0/8.0 kB"),
                    Arguments.of(400L, 8000L, "0.4/8.0 kB"),
                    Arguments.of(4000L, 8000L, "4.0/8.0 kB"),
                    Arguments.of(8000L, 8000L, "8.0 kB"),
                    Arguments.of(8000L, 50000L, "8.0/50 kB"),
                    Arguments.of(16000L, 50000L, "16/50 kB"),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  6. docs/ko/docs/advanced/strict-content-type.md

    ## 공격 예시 { #example-attack }
    
    로컬 AI 에이전트를 실행하는 방법을 만들었다고 가정해 봅시다.
    
    이 에이전트는 다음 위치에 API를 제공합니다:
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    또한 다음 위치에 프론트엔드가 있습니다:
    
    ```
    http://localhost:8000
    ```
    
    /// tip | 팁
    
    두 주소 모두 같은 호스트를 사용합니다.
    
    ///
    
    그런 다음 프론트엔드를 통해 AI 에이전트가 여러분을 대신해 작업을 수행하도록 할 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 4K bytes
    - Click Count (0)
  7. docs/iam/identity-manager-plugin.go

    	w.WriteHeader(http.StatusOK)
    	json.NewEncoder(w).Encode(rsp)
    	return
    }
    
    func main() {
    	http.HandleFunc("/", mainHandler)
    
    	log.Print("Listening on :8081")
    	log.Fatal(http.ListenAndServe(":8081", nil))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/debugging.md

    所以,下面这部分代码才会运行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ---
    
    如果你是导入这个模块(文件)就不会这样。
    
    因此,如果你的另一个文件 `importer.py` 像这样:
    
    ```Python
    from myapp import app
    
    # 其他一些代码
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    /// info | 信息
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/debugging.md

    因此,這段:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    會被執行。
    
    ---
    
    如果你是匯入該模組(檔案),就不會發生這件事。
    
    所以,如果你有另一個檔案 `importer.py`,內容如下:
    
    ```Python
    from myapp import app
    
    # 其他程式碼
    ```
    
    在那種情況下,`myapp.py` 中自動建立的變數 `__name__` 就不會是 `"__main__"`。
    
    因此,這一行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    就不會被執行。
    
    /// info | 說明
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/debugging.md

    </div>
    
    dann hat in Ihrer Datei die interne Variable `__name__`, die von Python automatisch erstellt wird, als Wert den String `"__main__"`.
    
    Daher wird der Abschnitt:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ausgeführt.
    
    ---
    
    Dies wird nicht passieren, wenn Sie das Modul (die Datei) importieren.
    
    Wenn Sie also eine weitere Datei `importer.py` mit folgendem Inhalt haben:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top