On Sun, 09 Sep 2018 18:47:49 -0700, Νίκος Βέργος wrote: > I have 3 wsgi scripts listening on 3 locations. What i'm trying to run > an wsgi script from within another wsgi script with the following > statement. > > page = 'clientele' > pdata = requests.get( 'http://superhost.gr/' + page ) > pdata = pdata.text + counter page = the location of another wsgi app. > > The error i'am getting when for i.e i try to load > http://superhost.gr/clientele > > mod_wsgi (pid=7152): Exception occurred processing WSGI script > '/home/nikos/public_html/app.py' > OSError: Apache/mod_wsgi failed to write response data: Broken pipe. > The other script by itself executes normally but NOT from within my > app.py script. > > Any ideas on how to execute a wsgi app (b) from within a wsgi app(a) and > store the response as html data?
repeatedly asking the same question will not get you answered any faster in fact it may simply get you black-listed by many posters -- Why are you so hard to ignore? -- https://mail.python.org/mailman/listinfo/python-list