Rekushi
|
687a2bcb43
|
Port server.py to Python 3 and modern Twisted APIs
* Update Python 2 syntax for Python 3 compatibility
* Replace deprecated `imp` module usage with `importlib`
* Update Twisted request handling for Python 3 `bytes`/`str` behavior
* Preserve Flipnote Hatena proxy request routing
* Keep server listening on port 8080
* Update dynamic Hatena resource loading
* Improve startup/error handling
* Maintain compatibility with the existing database, static files, and Hatena endpoints
|
2026-08-31 20:30:55 +01:00 |
|
Rekushi
|
fe44430a46
|
Port hatena.py to Python 3 and modern Twisted
* Replace Python 2 syntax and string handling with Python 3-compatible code
* Add explicit bytes/text conversion for Twisted requests and responses
* Update request paths, headers, arguments, and child resource names for modern Twisted
* Return byte responses from resource render methods
* Replace deprecated `imp.load_source()` with `importlib.util`
* Generate unique module names for dynamically loaded Hatena endpoints
* Update HTTP response/header handling
* Preserve Nintendo DSi connection-test handling
* Preserve Flipnote Hatena proxy access restrictions
* Preserve region routing for v2-xx, v2-eu, v2-us, and v2-jp
* Preserve UGOXML loading and packing behavior
* Update static file and folder resource handling
* Improve 404 query-string reconstruction
* Add compatibility fallback for modern Twisted client address APIs
* Keep the original dynamic `hatenadir` resource-tree behavior
|
2026-08-31 20:29:55 +01:00 |
|