Contiki 2.5
http-strings.c
1 const char http_200[5] =
2 /* "200 " */
3 {0x32, 0x30, 0x30, 0x20, };
4 const char http_get[5] =
5 /* "GET " */
6 {0x47, 0x45, 0x54, 0x20, };
7 const char http_index_html[12] =
8 /* "/index.html" */
9 {0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, };
10 const char http_404_html[10] =
11 /* "/404.html" */
12 {0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, };
13 const char http_referer[9] =
14 /* "Referer:" */
15 {0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x72, 0x3a, };
16 const char http_header_200[55] =
17 /* "HTTP/1.0 200 OK\nServer: Contiki/2.0\nConnection: close\n" */
18 {0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4f, 0x4b, 0xa, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3a, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6b, 0x69, 0x2f, 0x32, 0x2e, 0x30, 0xa, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0xa, };
19 const char http_header_404[62] =
20 /* "HTTP/1.0 404 Not found\nServer: Contiki/2.0\nConnection: close\n" */
21 {0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x34, 0x30, 0x34, 0x20, 0x4e, 0x6f, 0x74, 0x20, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0xa, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3a, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6b, 0x69, 0x2f, 0x32, 0x2e, 0x30, 0xa, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0xa, };
22 const char http_content_type_plain[27] =
23 /* "Content-type: text/plain\n\n" */
24 {0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0xa, 0xa, };
25 const char http_content_type_html[26] =
26 /* "Content-type: text/html\n\n" */
27 {0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0xa, 0xa, };
28 const char http_content_type_binary[41] =
29 /* "Content-type: application/octet-stream\n\n" */
30 {0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6f, 0x63, 0x74, 0x65, 0x74, 0x2d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xa, 0xa, };
31 const char http_html[6] =
32 /* ".html" */
33 {0x2e, 0x68, 0x74, 0x6d, 0x6c, };
34 const char http_shtml[7] =
35 /* ".shtml" */
36 {0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, };