fix: serve the eSIM GET endpoints from _do_GET; release v3.0.0
The three eSIM GET routes were inserted after the POST-only /api/verify-adm branch, i.e. into the _do_POST chain, so GET /api/esim/chip|profiles|notifications fell through to the 404 handler (only POST /api/esim/profile was reachable). - Moved /api/esim/chip|profiles|notifications into _do_GET (after /api/status); /api/esim/profile stays in _do_POST. - Regression test: inspect the handler sources and assert each route is in the right chain. - Version 3.0.0 (eSIM support is a major update): server/pyproject/PWA header, sw.js simple-v227.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "pysim-simple-server"
|
||||
version = "2.8.1"
|
||||
version = "3.0.0"
|
||||
description = "HTTP REST server wrapping pysim for the SIMple PWA"
|
||||
requires-python = ">=3.8"
|
||||
# pysim is a git-only dependency installed explicitly by setup.bat/setup.sh.
|
||||
|
||||
Reference in New Issue
Block a user