Tagged Questions

Twisted Web provides a simple, stable HTTP server built on top of Twisted framework. It is suitable for all types of web apps and web services. It provides a flexible resource publishing API, and implements HTTP 1.0 with some 1.1 features. It can also be used for hosting WSGI applications.

I may be too ambitious and what I am trying to accomplish May not even be possible using twisted, but I would like to develop an application using Twisted that does all of the following.
Run an SFTP ...

I have a Django application which I need to deploy in a WSGI container. I can either chose an event driven app server like TwistedWeb or a process driven server like uWSGI. I completely understand the ...

I would like to run a Twisted server and serve various things at different URL paths. The first thing I want to do is to set up a reverse proxy when someone hits the /app1 path. This is what I have ...

As Httpretty works on the Python socket layer, even Twisted web requests should be mocked out. But i am seeing some weird behavior on using httpretty. It tries to connect to localhost somehow. Below ...

I've not done any twisted now for a couple of years and have started using the newer Agent style of client http calls. Using Agent has been OK, but testing is confusing me (it's twisted after all).
...

I want to run index.html. so when I type localhost:8080 then index.html should be executed in browser. but its giving no such resource. I am specifying the entire path of index.html. please help me ...

I'm writing an application in python using the twisted.web framework to stream video using html 5.
The videos are being server via static.File('pathtovideo').render_GET()
The problem is that only one ...

I'm making a website using twisted.web.template, where multiple pages have sub-windows with identical html code. So I want to use templates, and just dump a complete html string into place holders, ...

I am quite surprised I couldn't find anything on this in my Google searching.
I'm using TwistedWeb to make a simple JSON HTTP API. I'd like to customize the 404 page so it returns something in JSON ...

I'm using HTTP Digest Authentication in a web-server written using the Twisted framework for python. I want to control the page that the user sees when they press cancel in the authentication dialog ...

I'm trying to put slow computations inside threads, and getting an error "Request.write called on a request after Request.finish was called."
I've looked through answers already, and find exact the ...

Before laying my question bare, some context is needed. I'm trying to issue HTTP GET and POST requests to a website, with the following caveats:
Redirects are expected
Cookies are required
Requests ...

I am trying to log requests and responses and the headers of both using a Twisted Framework's Proxy.
Right now the requests are handled by process method in HTTPProxyRequest class and the responses ...

I have written a code in twisted .I need to write the log information in when we have call
d.addErrback(on_failure).
from twisted.python import log
log.startLogging(open('/home/crytek.etl/foo.log', ...

I need to get input and send output to/from a python program that should run some functions while the user is not connected, and serve and update content on a webpage when the user is connected.
I'm ...

I am developing a chat application in twisted in Python. I am using transport.write() to write to the TCP stream.
However, sometimes, I notice that the data received at the client side is combined( ...

My chat program runs on a twisted server.When I open a page the icon place in tab has a rotating circle for entire time . I know that means an unfinished request .
Can anyone explain me what exactly ...

I have written a chat server which writes a message line on the browser of one client to other client. The problem is that if i use request.finish() the output is shown but the connection is closed ...

I'm trying to port pydoctor to twisted.web.template and have hit a pretty basic problem: pydoctor uses epydoc to render docstrings into HTML but I can't see a way to include this HTML in the generated ...