offchain
offchain copied to clipboard
Replaced deprecated `cgi` package
Description
Replaced deprecated cgi package with the code suggested in #107
Motivation and Context
cgi is marked as deprecated since python 3.11, and will be removed in python 3.13
Fixes #107
How has this been tested?
Provided test coverage for new utility function. Ran all tests.
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.