First GET request works. SWAT now displays a Hello world message.
[bbaumbach/samba-autobuild/.git] / source4 / web_server / wsgi.c
index 0709e0ba39d63731e9bfb9dfbbc580dbff80eccb..3d5d0b4bf06e8e8ccea827d579d9b784f140d4f0 100644 (file)
@@ -314,8 +314,7 @@ static void wsgi_process_http_input(struct web_server_data *wdata,
        /* Now, iter over all the data returned */
 
        while ((item = PyIter_Next(iter))) {
-               data_blob_append(web, &web->output.content, 
-                                PyString_AsString(item), PyString_Size(item));
+               websrv_output(web, PyString_AsString(item), PyString_Size(item));
                Py_DECREF(item);
        }