- cgi_set(+CGIStream, ?Property) is det
- Change one of the properies. Supported properties are:
- request(+Term)
- Associate a request to the stream.
- header(+Term)
- Register a reply header. This header is normally retrieved
from the
send_header hook to send the reply header to the
client.
- connection(-Connection)
- One of
Keep-Alive or close.
- transfer_encoding(-Tranfer)
- One of
chunked or none. Initially set to none. When
switching to chunked from the header hook, it calls the
send_header hook and if there is data queed this is send
as first chunk. Each subsequent write to the CGI stream
emits a chunk.