Method Protocols.HTTP.Query()->ponder_answer()


Method ponder_answer

protected int ponder_answer(int|void start_position)

Description

Attempt to read the result header block from buf and con.

Returns
0

Returns 0 if the header block has not yet been received.

1

Sets headerbuf to the raw header block and headers to the parsed header block, calls the request_ok callback (if any) and returns 1 on successful read of the header block.

Note

The data part of the result may still be pending on 1 return.