Bug 458256. Use LoadLibraryW instead of LoadLibrary (patch by DougT). r+sr=vlad
[wine-gecko.git] / tools / testserver / docs / urlmap
blob60295e5f541c943f1058fd9f1d88b05d542bdc2b
2 # Foo- Copy/Paste these 9 lines to generate new cases. 
4 START /foo
5 INCLUDE generic.res
6 Content-Type: text/html
7 CRLF
8 INCLUDE foo.html
9 END
12 # Cookie- A test with cookie header
14 START /cookie
15 INCLUDE generic.res
16 Content-Type: text/html
17 Set-Cookie: foo=bar
18 Date: Wed, 28 Jul 1999 17:00:01 GMT
19 CRLF
20 A test with Set-Cookie header foo=bar
21 END
24 # This is a simple multipart message example
25 # for more complicated stuff try "complex"
27 START /multi
28 INCLUDE generic.res
29 Content-Type: multipart/mixed; boundary=ComfortablyNumb
30 CRLF
31 --ComfortablyNumb
32 INCLUDE foo.html
33 CRLF
34 --ComfortablyNumb
35 INCLUDE bar.html
36 --ComfortablyNumb--
37 END
40 # Send the help file to see how this server is used. 
42 START /help
43 INCLUDE generic.res
44 CRLF
45 INCLUDE help.html
46 END 
49 # A more complex variation of multipart messaging.
50 # If this works, every code contributor to Necko
51 # gets a treat from me personally :) -Gagan
52
53 START /complex
54 INCLUDE generic.res
55 Content-Type: multipart/mixed; boundary=TheWallFromPinkFloyd
56 CRLF
57 Preamble to multipart messages. Only clients that dont handle
58 multipart would see this!
59 CRLF
60 --TheWallFromPinkFloyd
61 Content-Type: text/plain
62 CRLF
63         The Thin Ice
64         Another Brick In The Wall-I
65 CRLF
66 --TheWallFromPinkFloyd
67 Content-Type: multipart/parallel; boundary=SideTwoOfTheWall
68 CRLF
69 --SideTwoOfTheWall
70 Content-Type: text/plain
71 CRLF
72         Young Lust
73         Goodbye Cruel World
74 CRLF
75 --SideTwoOfTheWall
76 Content-Type: text/plain
77 CRLF
78         Another Brick In The Wall-II
79 --SideTwoOfTheWall--
80 CRLF
81 --TheWallFromPinkFloyd
82 Content-Type: text/plain
83 CRLF
84         Another Brick In The Wall-III
85 --TheWallFromPinkFloyd--
86 CRLF
87 END
90 # Pragma: no-cache test
92 START /pragma
93 INCLUDE generic.res
94 Pragma: no-cache
95 Content-Type: text/html
96 CRLF
97 INCLUDE foo.html
98 END
101 # close: return a connection: close header
103 START /close
104 INCLUDE generic.res
105 Connection: Close
106 Content-Type: text/html
107 CRLF
108 INCLUDE foo.html
112 # Redirect testing
114 START /redirect
115 HTTP/1.1 301 Moved to a new location
116 Server: HTTP Test Server/1.1
117 Location: http://home.netscape.com/
118 Content-Type: text/html
119 CRLF
123 # Post example...
125 START /post
126 INCLUDE generic.res
127 Content-Type: text/html
128 CRLF
129 INCLUDE post.html
133 # Do other stuff with echoing the request as well... 
135 START /echo
136 INCLUDE generic.res
137 Content-Type: text/html
138 CRLF
139 <HTML>
140 <H2>Echo request example</H2>
141 <HR>
142 This should echo all the request headers-<BR>
143 <PRE>
144 ECHO
145 </PRE>
146 <HR>
147 This should echo only the user-agent header- (this is case sensitive!)<BR>
148 <PRE>
149 ECHO User-Agent
150 </PRE>