Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/w/h/whiff-1.1/whiff/middleware/GetPageLink.py   whiff(Download)
        expanderUrl = self.param_value(self.expanderUrl, env)
        linkText = "%s?%s" % (expanderUrl, query_string)
        headers = self.derive_headers('text/plain')
        start_response('200 OK', headers)
        return [linkText]

src/w/h/whiff-1.1/whiff/middleware/EvalPageFunction.py   whiff(Download)
        #pr "end of evalPage javascript"
        #pr 
        headers = self.derive_headers('application/javascript')
        start_response('200 OK', headers)
        return [javaScriptText]

src/w/h/whiff-1.1/whiff/middleware/setInnerHtml.py   whiff(Download)
        D["NAME"] = nameString
        javaScriptText = JAVASCRIPTTEMPLATE % D
        headers = self.derive_headers('application/javascript')
        start_response('200 OK', headers)        
        return [javaScriptText]