Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
184422d39df1aa27e6ef4c1ae75177489147ec99
/
.
/
tests
/
test.c
blob: 45957121bd34782ebce97dc40681d9eea4095a5c [
file
] [
log
] [
blame
]
main
()
{
write
(
1
,
"HTTP"
,
4
);
write
(
1
,
"/1.0"
,
4
);
write
(
1
,
" 200"
,
4
);
write
(
1
,
" OK\r\n"
,
5
);
write
(
1
,
"TOTO: 1\r\n"
,
9
);
write
(
1
,
"Hdr2: 2\r\n"
,
9
);
write
(
1
,
"Hdr3:"
,
5
);
write
(
1
,
" 2\r\n"
,
4
);
write
(
1
,
"\r\n\r\n"
,
4
);
write
(
1
,
"DATA\r\n"
,
6
);
}