added test for upload progress

This commit is contained in:
roberta@mrspurr
2011-08-28 19:13:56 +02:00
parent 835230b1a4
commit d9361f1fee
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
import uuid
def application(env, start_response):
@@ -15,11 +16,11 @@ def application(env, start_response):
else:
start_response('200 Ok', [('Content-type', 'text/html')])
return """
<form method="POST" enctype="multipart/form-data">
<form method="POST" enctype="multipart/form-data" action="?X-Progress-ID=%s">
<textarea name="pluto">
</textarea>
<input type="file" name="pippo" />
<input type="submit" value="invia" />
</form>
"""
""" % uuid.uuid4()
+1 -1
View File
@@ -1461,7 +1461,7 @@ int uwsgi_start(void *v_argv) {
if (!uwsgi.no_initial_output) {
if (!uwsgi.master_process) {
uwsgi_log(" *** WARNING: you are running uWSGI without its master process manager ***\n");
uwsgi_log("*** WARNING: you are running uWSGI without its master process manager ***\n");
}
}
#ifndef __OpenBSD__