mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 21:51:30 +00:00
added test for upload progress
This commit is contained in:
+3
-2
@@ -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()
|
||||
|
||||
|
||||
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user