Skip to content

Commit 78a85a8

Browse files
committed
add a test case for the server that includes content negotiation
1 parent 70cd008 commit 78a85a8

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

data/test/input/hello-js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
GET / HTTP/1.1
2+
Host: none
3+
Accept: application/json
4+

data/test/output/hello-js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
HTTP/1.1 200 OK
2+
Content-Length: 14
3+
Content-Type: application/json
4+
Server: cxxhttp/3 asio/101401 libefgy/8
5+
Vary: Accept
6+
7+
"Hello World!"

0 commit comments

Comments
 (0)