class documentation

class LFSRequestHandler(BaseHTTPRequestHandler):

View In Hierarchy

HTTP request handler for LFS operations.

Method do_GET Handle GET requests (downloads).
Method do_POST Handle POST requests.
Method do_PUT Handle PUT requests (uploads).
Method handle_batch Handle batch API requests.
Method handle_download Handle object download requests.
Method handle_upload Handle object upload requests.
Method handle_verify Handle object verification requests.
Method log_message Override to suppress request logging during tests.
Method send_json_response Send a JSON response.
Class Variable server Undocumented
Method _object_exists Check if an object exists in the store.
def do_GET(self):

Handle GET requests (downloads).

def do_POST(self):

Handle POST requests.

def do_PUT(self):

Handle PUT requests (uploads).

def handle_batch(self):

Handle batch API requests.

def handle_download(self):

Handle object download requests.

def handle_upload(self):

Handle object upload requests.

def handle_verify(self):

Handle object verification requests.

def log_message(self, format: str, *args: object):

Override to suppress request logging during tests.

def send_json_response(self, status_code: int, data: Mapping[str, typing.Any]):

Send a JSON response.

server: LFSServer =

Undocumented

def _object_exists(self, oid: str) -> bool:

Check if an object exists in the store.