xref: /nrf52832-nimble/rt-thread/components/net/uip/apps/webclient/webclient-strings.c (revision 104654410c56c573564690304ae786df310c91fc)
1*10465441SEvalZero const char http_http[8] =
2*10465441SEvalZero /* "http://" */
3*10465441SEvalZero {0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0 };
4*10465441SEvalZero const char http_200[5] =
5*10465441SEvalZero /* "200 " */
6*10465441SEvalZero {0x32, 0x30, 0x30, 0x20, 0 };
7*10465441SEvalZero const char http_301[5] =
8*10465441SEvalZero /* "301 " */
9*10465441SEvalZero {0x33, 0x30, 0x31, 0x20, 0 };
10*10465441SEvalZero const char http_302[5] =
11*10465441SEvalZero /* "302 " */
12*10465441SEvalZero {0x33, 0x30, 0x32, 0x20, 0 };
13*10465441SEvalZero const char http_get[5] =
14*10465441SEvalZero /* "GET " */
15*10465441SEvalZero {0x47, 0x45, 0x54, 0x20, 0 };
16*10465441SEvalZero const char http_10[9] =
17*10465441SEvalZero /* "HTTP/1.0" */
18*10465441SEvalZero {0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0 };
19*10465441SEvalZero const char http_11[9] =
20*10465441SEvalZero /* "HTTP/1.1" */
21*10465441SEvalZero {0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0 };
22*10465441SEvalZero const char http_content_type[15] =
23*10465441SEvalZero /* "content-type: " */
24*10465441SEvalZero {0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0 };
25*10465441SEvalZero const char http_texthtml[10] =
26*10465441SEvalZero /* "text/html" */
27*10465441SEvalZero {0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0 };
28*10465441SEvalZero const char http_location[11] =
29*10465441SEvalZero /* "location: " */
30*10465441SEvalZero {0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0 };
31*10465441SEvalZero const char http_host[7] =
32*10465441SEvalZero /* "host: " */
33*10465441SEvalZero {0x68, 0x6f, 0x73, 0x74, 0x3a, 0x20, 0 };
34*10465441SEvalZero const char http_crnl[3] =
35*10465441SEvalZero /* "\r\n" */
36*10465441SEvalZero {0xd, 0xa, 0 };
37*10465441SEvalZero const char http_index_html[12] =
38*10465441SEvalZero /* "/index.html" */
39*10465441SEvalZero {0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0 };
40*10465441SEvalZero const char http_404_html[10] =
41*10465441SEvalZero /* "/404.html" */
42*10465441SEvalZero {0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0 };
43*10465441SEvalZero const char http_content_type_html[28] =
44*10465441SEvalZero /* "Content-type: text/html\r\n\r\n" */
45*10465441SEvalZero {0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0xd, 0xa, 0xd, 0xa, 0 };
46*10465441SEvalZero const char http_content_type_css [27] =
47*10465441SEvalZero /* "Content-type: text/css\r\n\r\n" */
48*10465441SEvalZero {0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x63, 0x73, 0x73, 0xd, 0xa, 0xd, 0xa, 0 };
49*10465441SEvalZero const char http_content_type_text[28] =
50*10465441SEvalZero /* "Content-type: text/text\r\n\r\n" */
51*10465441SEvalZero {0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x74, 0x65, 0x78, 0x74, 0xd, 0xa, 0xd, 0xa, 0 };
52*10465441SEvalZero const char http_content_type_png [28] =
53*10465441SEvalZero /* "Content-type: image/png\r\n\r\n" */
54*10465441SEvalZero {0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x6e, 0x67, 0xd, 0xa, 0xd, 0xa, 0 };
55*10465441SEvalZero const char http_content_type_gif [28] =
56*10465441SEvalZero /* "Content-type: image/gif\r\n\r\n" */
57*10465441SEvalZero {0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x67, 0x69, 0x66, 0xd, 0xa, 0xd, 0xa, 0 };
58*10465441SEvalZero const char http_content_type_jpg [29] =
59*10465441SEvalZero /* "Content-type: image/jpeg\r\n\r\n" */
60*10465441SEvalZero {0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x6a, 0x70, 0x65, 0x67, 0xd, 0xa, 0xd, 0xa, 0 };
61*10465441SEvalZero const char http_content_type_binary[43] =
62*10465441SEvalZero /* "Content-type: application/octet-stream\r\n\r\n" */
63*10465441SEvalZero {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, 0xd, 0xa, 0xd, 0xa, 0 };
64*10465441SEvalZero const char http_html[6] =
65*10465441SEvalZero /* ".html" */
66*10465441SEvalZero {0x2e, 0x68, 0x74, 0x6d, 0x6c, 0 };
67*10465441SEvalZero const char http_shtml[7] =
68*10465441SEvalZero /* ".shtml" */
69*10465441SEvalZero {0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0 };
70*10465441SEvalZero const char http_htm[5] =
71*10465441SEvalZero /* ".htm" */
72*10465441SEvalZero {0x2e, 0x68, 0x74, 0x6d, 0 };
73*10465441SEvalZero const char http_css[5] =
74*10465441SEvalZero /* ".css" */
75*10465441SEvalZero {0x2e, 0x63, 0x73, 0x73, 0 };
76*10465441SEvalZero const char http_png[5] =
77*10465441SEvalZero /* ".png" */
78*10465441SEvalZero {0x2e, 0x70, 0x6e, 0x67, 0 };
79*10465441SEvalZero const char http_gif[5] =
80*10465441SEvalZero /* ".gif" */
81*10465441SEvalZero {0x2e, 0x67, 0x69, 0x66, 0 };
82*10465441SEvalZero const char http_jpg[5] =
83*10465441SEvalZero /* ".jpg" */
84*10465441SEvalZero {0x2e, 0x6a, 0x70, 0x67, 0 };
85*10465441SEvalZero const char http_text[6] =
86*10465441SEvalZero /* ".text" */
87*10465441SEvalZero {0x2e, 0x74, 0x65, 0x78, 0x74, 0 };
88*10465441SEvalZero const char http_txt[5] =
89*10465441SEvalZero /* ".txt" */
90*10465441SEvalZero {0x2e, 0x74, 0x78, 0x74, 0 };
91*10465441SEvalZero const char http_user_agent_fields[77] =
92*10465441SEvalZero /* "Connection: close\r\nUser-Agent: uIP/1.0 (; http://www.sics.se/~adam/uip/)\r\n\r\n" */
93*10465441SEvalZero {0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0xd, 0xa, 0x55, 0x73, 0x65, 0x72, 0x2d, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x20, 0x75, 0x49, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x28, 0x3b, 0x20, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x73, 0x65, 0x2f, 0x7e, 0x61, 0x64, 0x61, 0x6d, 0x2f, 0x75, 0x69, 0x70, 0x2f, 0x29, 0xd, 0xa, 0xd, 0xa, 0 };
94