nopasaran.http_2_utils.send_continuation_frame

nopasaran.http_2_utils.send_continuation_frame(conn: H2Connection, sock: socket, frame_data: Dict, cloudflare_origin: bool = False)

Send a CONTINUATION frame

Args:

conn: H2Connection instance sock: Socket to send data on frame_data: Frame configuration dictionary containing:

  • stream_id (required): Stream ID (must match the stream of preceding HEADERS/PUSH_PROMISE)

  • headers (optional): Additional headers to send

  • flags (optional): Dictionary of flags to set

  • end_headers (optional): Whether this is the last CONTINUATION frame (default: True)