RequestHandler

class aswan.RequestHandler

Bases: UrlHandlerBase

Methods Summary

handle_driver(session)

runs before get.

is_session_broken(result)

either response code, or exception

parse(blob)

start_session(session)

starts session if no browser needed

Methods Documentation

handle_driver(session: Session)

runs before get. can set/update cookies/headers

is_session_broken(result: int | Exception)

either response code, or exception

parse(blob)
start_session(session: Session)

starts session if no browser needed