101 が使われる場面
- WebSocket の接続を開始した(Upgrade: websocket)
101 を返す・確認する方法
| 環境 | コード |
|---|---|
| 確認(curl) | curl -I https://example.com/path |
| Node.js(Express) | res.status(101).send(...) |
| Python(FastAPI) | raise HTTPException(status_code=101) |
| PHP | http_response_code(101); |
| nginx | return 101; |