Euler source The code that runs the solver shell and this site, version 4.34.2 Repository on GitHub

HTTP-over-unix-socket client for the auth service — re-export of the shared one.

18 lines of Python Raw file Open on GitHub

#!/usr/bin/env python3.14
# -*- coding: utf-8 -*-
"""HTTP-over-unix-socket client for the auth service — re-export of the shared one.

The implementation moved to :mod:`euler_site.unixhttp` when the message spool
(:mod:`euler_webshell.msg`) needed the same client: a second service must be able to
talk over a unix socket without importing this package, since loading auth's
modules into another service's process would recouple the two and defeat the
isolation that gave the spool its own uid (web-server-guide § Messaging).

This module stays as the auth tier's name for it, so its callers — the `users`
command and the identity resolver — need no edit.
"""
from __future__ import annotations

__all__ = ['request']

from euler_site.unixhttp import request