I am just writing a small YGSI app and I am trying to find a web server Which can be distributed, pre-configuration to run a specific app I know that there are things like Twisted and Cherpio that can work the Waste app, but I'm missing a significant part of the functionality for me, which Using the http range header, "Pseudostar "The ability of large files is whether a web server is available under BSD or similar license, which can be distributed as standalone executable on any major platforms, which proxies the AGBI server (like cherry or similar) Enabled and large files http border title? LightPCP has a BSD license, so you should be able to bundle it if you wish.
P>
You call this a small application, so I think that small, local, single user web interfaces are being served by a small server? If this is the case, then any dragon implementation should work. Simply use something like py2exe to package it (actually, here the question related to the Python Python program was not long ago).
Update, Re: Category Header: The default Python http server does not support the range header that you want, but to make logic, writing your own handler, or a small Wi-Fi app is very easy That's especially what you're doing is streaming the file. This will not be too long:
def stream_file (environment, start_proc): fp = open (base_dir + environ ["PATH_INFO"]) fp.seek (environment ["HTTP_CONTENT_RANGE"]) # Just one example start_response ("200 OK", (('content-type', "file / type")))
Comments
Post a Comment