Current Behaviour (takes about a second)

POST /cgi-bin/web-frontend.py HTTP/1.1
Host: localhost:8000
Accept: */*
Content-Length: 202
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------1309ceb413f3

HTTP/1.0 200 Script output follows
Server: SimpleHTTP/0.6 Python/2.7.3
Date: Thu, 19 Sep 2013 13:45:19 GMT
------------------------------1309ceb413f3
Content-Disposition: form-data; name="data"
Content-Type: text/xml

<data><test-client node="attr"/></data>
------------------------------1309ceb413f3--
Content-Type: text/xml

<?xml version="1.0"?>
<data>
<test-client node="attr"/>
<ServerNode/>
</data>

The same request in Apache (Takes about 0.03 Seconds)

POST /cgi-bin/web-frontend.cgi HTTP/1.1
Host: localhost
Accept: */*
Content-Length: 202
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------e1f218eb45ab

HTTP/1.1 100 Continue

------------------------------e1f218eb45ab
Content-Disposition: form-data; name="data"
Content-Type: text/xml

<data><test-client node="attr"/></data>
------------------------------e1f218eb45ab--
HTTP/1.1 200 OK
Date: Thu, 19 Sep 2013 14:08:35 GMT
Server: Apache/2.2.22 (Debian)
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/xml

53
<?xml version="1.0"?>
<data>
<test-client node="attr"/>
<ServerNode/>
</data>


0

Modified version to send to 100 Continue (takes about 0.05 seconds)

POST /cgi-bin/web-frontend.py HTTP/1.1
Host: localhost:8000
Accept: */*
Content-Length: 202
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------4f4f72b5f353

HTTP/1.0 100 Continue
Server: SimpleHTTP/0.6 Python/2.7.3
Date: Thu, 19 Sep 2013 14:23:57 GMT

------------------------------4f4f72b5f353
Content-Disposition: form-data; name="data"
Content-Type: text/xml

<data><test-client node="attr"/></data>
------------------------------4f4f72b5f353--
HTTP/1.0 200 Script output follows
Server: SimpleHTTP/0.6 Python/2.7.3
Date: Thu, 19 Sep 2013 14:23:57 GMT
Content-Type: text/xml
<?xml version="1.0"?>
<data>
<test-client node="attr"/>
<ServerNode/>
</data>