Table of Contents

Module: producers Zope-2.2.1-src/ZServer/medusa/producers.py

A collection of producers. Each producer implements a particular feature: They can be combined in various ways to get interesting and useful behaviors.

For example, you can feed dynamically-produced output into the compressing producer, then wrap this with the chunked transfer-encoding producer.

Imported modules   
import string
Classes   
buffer_list_producer

producer for a list of buffers

chunked_producer

A producer that implements the chunked transfer coding for HTTP/1.1.

composite_producer

combine a fifo of producers into one

compressed_producer

Compress another producer on-the-fly, using ZLIB

escaping_producer

A producer that escapes a sequence of characters

file_producer

producer wrapper for file[-like] objects

globbing_producer

glob' the output from a producer into a particular buffer size.

hooked_producer

A producer that will call when it empties,.

lines_producer

producer for a list of lines

output_producer

Acts like an output file; suitable for capturing sys.stdout

scanning_producer

like simple_producer, but more efficient for large strings

simple_producer

producer for a string


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6