Some test changes to allow echoing requests at arbitrary locations in urlmap. You can now use ECHO [HTTPHeader] to display all headers (if HTTPHeader is not specified) or that header value as it came in the request. See <your-testserver>/echo for an example. Not in build (a=leaf)

git-svn-id: svn://10.0.0.236/trunk@65513 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gagan%netscape.com
2000-04-07 23:14:52 +00:00
parent 9b3878bbe5
commit 7b7e7d922a
6 changed files with 88 additions and 4 deletions

View File

@@ -120,7 +120,7 @@ CRLF
END
#
#
# Post example...
#
START /post
INCLUDE generic.res
@@ -129,3 +129,23 @@ CRLF
INCLUDE post.html
END
#
# Do other stuff with echoing the request as well...
#
START /echo
INCLUDE generic.res
Content-Type: text/html
CRLF
<HTML>
<H2>Echo request example</H2>
<HR>
This should echo all the request headers-<BR>
<PRE>
ECHO
</PRE>
<HR>
This should echo only the user-agent header- (this is case sensitive!)<BR>
<PRE>
ECHO User-Agent
</PRE>
END