|
|
@ -165,7 +165,6 @@ curl -v "http://127.0.0.1:7379/GET/hello.html?type=text/html"
|
|
|
|
<html>
|
|
|
|
<html>
|
|
|
|
...
|
|
|
|
...
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|
|
</pre>
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
|
|
|
|
**Content-Type in a separate key:**
|
|
|
|
**Content-Type in a separate key:**
|
|
|
@ -178,6 +177,7 @@ curl "http://127.0.0.1:7379/GET/hello.type"
|
|
|
|
{"GET":"text/html"}
|
|
|
|
{"GET":"text/html"}
|
|
|
|
|
|
|
|
|
|
|
|
curl -v "http://127.0.0.1:7379/GET/hello.html?typeKey=hello.type"
|
|
|
|
curl -v "http://127.0.0.1:7379/GET/hello.html?typeKey=hello.type"
|
|
|
|
|
|
|
|
[...]
|
|
|
|
< HTTP/1.1 200 OK
|
|
|
|
< HTTP/1.1 200 OK
|
|
|
|
< Content-Type: text/html
|
|
|
|
< Content-Type: text/html
|
|
|
|
< Date: Mon, 03 Jan 2011 20:56:43 GMT
|
|
|
|
< Date: Mon, 03 Jan 2011 20:56:43 GMT
|
|
|
|