Given that there could be other service paths beyond /mcp exposed in future, and given that it is not necessary that their post body contain json data, so move conversion to json to within mcp_run handler. While retaining reading of the body in the generic do_POST ensures that the read size limit is implicitly enforced, whether /mcp now or any other path in future. |
||
|---|---|---|
| .. | ||
| config.py | ||
| debug.py | ||
| filemagic.py | ||
| pdfmagic.py | ||
| simplemcp.py | ||
| simpleproxy.json | ||
| simpleproxy.py | ||
| tcpdf.py | ||
| tcweb.py | ||
| test-gen-self-signed.sh | ||
| toolcall.py | ||
| urlvalidator.py | ||
| webmagic.py | ||