Add stream text output

This commit is contained in:
Xin Wang
2026-02-02 17:54:55 +08:00
parent 32c491cd3f
commit 30306addee
3 changed files with 178 additions and 10 deletions

View File

@@ -38,37 +38,37 @@ HTTP/1.1 200 - OK
connection: close
content-length: 97
content-type: application/json
date: Thu, 08 Jan 2026 09:26:31 GMT
date: Thu, 08 Jan 2026 09:27:05 GMT
server: uvicorn
###
POST http://127.0.0.1:8080/set_info
content-type: application/json
{
"sessionId": "a0009",
"sessionId": "a1002",
"timeStamp": "202503310303",
"key": "hphm1",
"value": "沪A8938"
"value": "沪A8939"
}
HTTP/1.1 200 - OK
connection: close
content-length: 70
content-type: application/json
date: Thu, 08 Jan 2026 09:25:49 GMT
date: Thu, 08 Jan 2026 09:27:00 GMT
server: uvicorn
###
DELETE http://127.0.0.1:8000/delete_session
DELETE http://127.0.0.1:8080/delete_session
content-type: application/json
{
"sessionId": "a0009",
"sessionId": "a1002",
"timeStamp": "202503310303"
}
HTTP/1.1 200 - OK
date: Fri, 20 Jun 2025 05:56:25 GMT
server: uvicorn
connection: close
content-length: 70
content-type: application/json
connection: close
date: Thu, 08 Jan 2026 09:27:24 GMT
server: uvicorn