These were originally added directly to libsoup3's codebase but I think it is more sanely managed here.
They only apply to libsoup3 with Python 3.
libsoup2 is in maintainance mode so I don't want its API to change, and Python 2 is EOL. So hopefully that is OK.