<s> """<STR_LIT>""" <EOL> from functools import partial <EOL> import pulsar <EOL> from pulsar . apps . socket import SocketServer , Connection <EOL> from . html import * <EOL> from . content import * <EOL> from . utils import * <EOL> from . middleware import * <EOL> from . response import * <EOL> from . wrappers import * <EOL> from . server import * <EOL> from . route import * <EOL> from . handlers import * <EOL> from . routers import * <EOL> from . auth import * <EOL> from . formdata import * <EOL> class WSGIServer ( SocketServer ) : <EOL> '''<STR_LIT>''' <EOL> name = '<STR_LIT>' <EOL> cfg = pulsar . Config ( apps = [ '<STR_LIT>' ] , <EOL> server_software = pulsar . SERVER_SOFTWARE ) <EOL> def protocol_factory ( self ) : <EOL> cfg = self . cfg <EOL> consumer_factory = partial ( HttpServerResponse , cfg . callable , cfg , <EOL> cfg . server_software ) <EOL> return partial ( Connection , consumer_factory ) </s>
