Test for Manuel Lemos' PHP HTTP class to simulate a HTTP POST form submission
- Opening connection to:
www.cs.tut.fi
- Request:
POST /cgi-bin/run/~jkorpela/echoraw.cgi HTTP/1.1
Request headers:
Host: www.cs.tut.fi
User-Agent: httpclient (http://www.phpclasses.org/httpclient $Revision: 1.98 $)
Connection: Keep-Alive
Content-Type: multipart/form-data; boundary=--6c9f97707b6c65d7a825d80ef1345d07
Content-Length: 3774
Request body:
Response headers:
http/1.1 302 found:
date: Wed, 12 Mar 2025 01:48:57 GMT
server: Apache/2
location: https://www.cs.tut.fi/cgi-bin/run/~jkorpela/echoraw.cgi
content-length: 239
keep-alive: timeout=5, max=100
connection: Keep-Alive
content-type: text/html; charset=iso-8859-1
Response body:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://www.cs.tut.fi/cgi-bin/run/~jkorpela/echoraw.cgi">here</a>.</p>
</body></html>