OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [Common/] [ethernet/] [FreeTCPIP/] [apps/] [httpd/] [http-strings.c] - Blame information for rev 611

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 606 jeremybenn
const char      http_http[8] = /* "http://" */ { 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, };
2
const char      http_200[5] = /* "200 " */ { 0x32, 0x30, 0x30, 0x20, };
3
const char      http_301[5] = /* "301 " */ { 0x33, 0x30, 0x31, 0x20, };
4
const char      http_302[5] = /* "302 " */ { 0x33, 0x30, 0x32, 0x20, };
5
const char      http_get[5] = /* "GET " */ { 0x47, 0x45, 0x54, 0x20, };
6
const char      http_10[9] = /* "HTTP/1.0" */ { 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, };
7
const char      http_11[9] = /* "HTTP/1.1" */ { 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, };
8
const char      http_content_type[15] =
9
 
10
/* "content-type: " */
11
{ 0x63,
12
        0x6f,
13
        0x6e,
14
        0x74,
15
        0x65,
16
        0x6e,
17
        0x74,
18
        0x2d,
19
        0x74,
20
        0x79,
21
        0x70,
22
        0x65,
23
        0x3a,
24
        0x20,
25
};
26
const char      http_texthtml[10] = /* "text/html" */ { 0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, 0x6c, };
27
const char      http_location[11] = /* "location: " */ { 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, };
28
const char      http_host[7] = /* "host: " */ { 0x68, 0x6f, 0x73, 0x74, 0x3a, 0x20, };
29
const char      http_crnl[3] = /* "\r\n" */ { 0xd, 0xa, };
30
const char      http_index_html[12] = /* "/index.html" */ { 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, };
31
const char      http_404_html[10] = /* "/404.html" */ { 0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, };
32
const char      http_referer[9] = /* "Referer:" */ { 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x72, 0x3a, };
33
const char      http_header_200[84] =
34
 
35
/* "HTTP/1.0 200 OK\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n" */
36
{ 0x48,
37
        0x54,
38
        0x54,
39
        0x50,
40
        0x2f,
41
        0x31,
42
        0x2e,
43
        0x30,
44
        0x20,
45
        0x32,
46
        0x30,
47
        0x30,
48
        0x20,
49
        0x4f,
50
        0x4b,
51
        0xd,
52
        0xa,
53
        0x53,
54
        0x65,
55
        0x72,
56
        0x76,
57
        0x65,
58
        0x72,
59
        0x3a,
60
        0x20,
61
        0x75,
62
        0x49,
63
        0x50,
64
        0x2f,
65
        0x31,
66
        0x2e,
67
        0x30,
68
        0x20,
69
        0x68,
70
        0x74,
71
        0x74,
72
        0x70,
73
        0x3a,
74
        0x2f,
75
        0x2f,
76
        0x77,
77
        0x77,
78
        0x77,
79
        0x2e,
80
        0x73,
81
        0x69,
82
        0x63,
83
        0x73,
84
        0x2e,
85
        0x73,
86
        0x65,
87
        0x2f,
88
        0x7e,
89
        0x61,
90
        0x64,
91
        0x61,
92
        0x6d,
93
        0x2f,
94
        0x75,
95
        0x69,
96
        0x70,
97
        0x2f,
98
        0xd,
99
        0xa,
100
        0x43,
101
        0x6f,
102
        0x6e,
103
        0x6e,
104
        0x65,
105
        0x63,
106
        0x74,
107
        0x69,
108
        0x6f,
109
        0x6e,
110
        0x3a,
111
        0x20,
112
        0x63,
113
        0x6c,
114
        0x6f,
115
        0x73,
116
        0x65,
117
        0xd,
118
        0xa,
119
};
120
const char      http_header_404[91] =
121
 
122
/* "HTTP/1.0 404 Not found\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n" */
123
{ 0x48,
124
        0x54,
125
        0x54,
126
        0x50,
127
        0x2f,
128
        0x31,
129
        0x2e,
130
        0x30,
131
        0x20,
132
        0x34,
133
        0x30,
134
        0x34,
135
        0x20,
136
        0x4e,
137
        0x6f,
138
        0x74,
139
        0x20,
140
        0x66,
141
        0x6f,
142
        0x75,
143
        0x6e,
144
        0x64,
145
        0xd,
146
        0xa,
147
        0x53,
148
        0x65,
149
        0x72,
150
        0x76,
151
        0x65,
152
        0x72,
153
        0x3a,
154
        0x20,
155
        0x75,
156
        0x49,
157
        0x50,
158
        0x2f,
159
        0x31,
160
        0x2e,
161
        0x30,
162
        0x20,
163
        0x68,
164
        0x74,
165
        0x74,
166
        0x70,
167
        0x3a,
168
        0x2f,
169
        0x2f,
170
        0x77,
171
        0x77,
172
        0x77,
173
        0x2e,
174
        0x73,
175
        0x69,
176
        0x63,
177
        0x73,
178
        0x2e,
179
        0x73,
180
        0x65,
181
        0x2f,
182
        0x7e,
183
        0x61,
184
        0x64,
185
        0x61,
186
        0x6d,
187
        0x2f,
188
        0x75,
189
        0x69,
190
        0x70,
191
        0x2f,
192
        0xd,
193
        0xa,
194
        0x43,
195
        0x6f,
196
        0x6e,
197
        0x6e,
198
        0x65,
199
        0x63,
200
        0x74,
201
        0x69,
202
        0x6f,
203
        0x6e,
204
        0x3a,
205
        0x20,
206
        0x63,
207
        0x6c,
208
        0x6f,
209
        0x73,
210
        0x65,
211
        0xd,
212
        0xa,
213
};
214
const char      http_content_type_plain[29] =
215
 
216
/* "Content-type: text/plain\r\n\r\n" */
217
{ 0x43,
218
        0x6f,
219
        0x6e,
220
        0x74,
221
        0x65,
222
        0x6e,
223
        0x74,
224
        0x2d,
225
        0x74,
226
        0x79,
227
        0x70,
228
        0x65,
229
        0x3a,
230
        0x20,
231
        0x74,
232
        0x65,
233
        0x78,
234
        0x74,
235
        0x2f,
236
        0x70,
237
        0x6c,
238
        0x61,
239
        0x69,
240
        0x6e,
241
        0xd,
242
        0xa,
243
        0xd,
244
        0xa,
245
};
246
const char      http_content_type_html[28] =
247
 
248
/* "Content-type: text/html\r\n\r\n" */
249
{ 0x43,
250
        0x6f,
251
        0x6e,
252
        0x74,
253
        0x65,
254
        0x6e,
255
        0x74,
256
        0x2d,
257
        0x74,
258
        0x79,
259
        0x70,
260
        0x65,
261
        0x3a,
262
        0x20,
263
        0x74,
264
        0x65,
265
        0x78,
266
        0x74,
267
        0x2f,
268
        0x68,
269
        0x74,
270
        0x6d,
271
        0x6c,
272
        0xd,
273
        0xa,
274
        0xd,
275
        0xa,
276
};
277
const char      http_content_type_css[27] =
278
 
279
/* "Content-type: text/css\r\n\r\n" */
280
{ 0x43,
281
        0x6f,
282
        0x6e,
283
        0x74,
284
        0x65,
285
        0x6e,
286
        0x74,
287
        0x2d,
288
        0x74,
289
        0x79,
290
        0x70,
291
        0x65,
292
        0x3a,
293
        0x20,
294
        0x74,
295
        0x65,
296
        0x78,
297
        0x74,
298
        0x2f,
299
        0x63,
300
        0x73,
301
        0x73,
302
        0xd,
303
        0xa,
304
        0xd,
305
        0xa,
306
};
307
const char      http_content_type_text[28] =
308
 
309
/* "Content-type: text/text\r\n\r\n" */
310
{ 0x43,
311
        0x6f,
312
        0x6e,
313
        0x74,
314
        0x65,
315
        0x6e,
316
        0x74,
317
        0x2d,
318
        0x74,
319
        0x79,
320
        0x70,
321
        0x65,
322
        0x3a,
323
        0x20,
324
        0x74,
325
        0x65,
326
        0x78,
327
        0x74,
328
        0x2f,
329
        0x74,
330
        0x65,
331
        0x78,
332
        0x74,
333
        0xd,
334
        0xa,
335
        0xd,
336
        0xa,
337
};
338
const char      http_content_type_png[28] =
339
 
340
/* "Content-type: image/png\r\n\r\n" */
341
{ 0x43,
342
        0x6f,
343
        0x6e,
344
        0x74,
345
        0x65,
346
        0x6e,
347
        0x74,
348
        0x2d,
349
        0x74,
350
        0x79,
351
        0x70,
352
        0x65,
353
        0x3a,
354
        0x20,
355
        0x69,
356
        0x6d,
357
        0x61,
358
        0x67,
359
        0x65,
360
        0x2f,
361
        0x70,
362
        0x6e,
363
        0x67,
364
        0xd,
365
        0xa,
366
        0xd,
367
        0xa,
368
};
369
const char      http_content_type_gif[28] =
370
 
371
/* "Content-type: image/gif\r\n\r\n" */
372
{ 0x43,
373
        0x6f,
374
        0x6e,
375
        0x74,
376
        0x65,
377
        0x6e,
378
        0x74,
379
        0x2d,
380
        0x74,
381
        0x79,
382
        0x70,
383
        0x65,
384
        0x3a,
385
        0x20,
386
        0x69,
387
        0x6d,
388
        0x61,
389
        0x67,
390
        0x65,
391
        0x2f,
392
        0x67,
393
        0x69,
394
        0x66,
395
        0xd,
396
        0xa,
397
        0xd,
398
        0xa,
399
};
400
const char      http_content_type_jpg[29] =
401
 
402
/* "Content-type: image/jpeg\r\n\r\n" */
403
{ 0x43,
404
        0x6f,
405
        0x6e,
406
        0x74,
407
        0x65,
408
        0x6e,
409
        0x74,
410
        0x2d,
411
        0x74,
412
        0x79,
413
        0x70,
414
        0x65,
415
        0x3a,
416
        0x20,
417
        0x69,
418
        0x6d,
419
        0x61,
420
        0x67,
421
        0x65,
422
        0x2f,
423
        0x6a,
424
        0x70,
425
        0x65,
426
        0x67,
427
        0xd,
428
        0xa,
429
        0xd,
430
        0xa,
431
};
432
const char      http_content_type_binary[43] =
433
 
434
/* "Content-type: application/octet-stream\r\n\r\n" */
435
{ 0x43,
436
        0x6f,
437
        0x6e,
438
        0x74,
439
        0x65,
440
        0x6e,
441
        0x74,
442
        0x2d,
443
        0x74,
444
        0x79,
445
        0x70,
446
        0x65,
447
        0x3a,
448
        0x20,
449
        0x61,
450
        0x70,
451
        0x70,
452
        0x6c,
453
        0x69,
454
        0x63,
455
        0x61,
456
        0x74,
457
        0x69,
458
        0x6f,
459
        0x6e,
460
        0x2f,
461
        0x6f,
462
        0x63,
463
        0x74,
464
        0x65,
465
        0x74,
466
        0x2d,
467
        0x73,
468
        0x74,
469
        0x72,
470
        0x65,
471
        0x61,
472
        0x6d,
473
        0xd,
474
        0xa,
475
        0xd,
476
        0xa,
477
};
478
const char      http_html[6] = /* ".html" */ { 0x2e, 0x68, 0x74, 0x6d, 0x6c, };
479
const char      http_shtml[7] = /* ".shtml" */ { 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, };
480
const char      http_htm[5] = /* ".htm" */ { 0x2e, 0x68, 0x74, 0x6d, };
481
const char      http_css[5] = /* ".css" */ { 0x2e, 0x63, 0x73, 0x73, };
482
const char      http_png[5] = /* ".png" */ { 0x2e, 0x70, 0x6e, 0x67, };
483
const char      http_gif[5] = /* ".gif" */ { 0x2e, 0x67, 0x69, 0x66, };
484
const char      http_jpg[5] = /* ".jpg" */ { 0x2e, 0x6a, 0x70, 0x67, };
485
const char      http_text[5] = /* ".txt" */ { 0x2e, 0x74, 0x78, 0x74, };
486
const char      http_txt[5] = /* ".txt" */ { 0x2e, 0x74, 0x78, 0x74, };

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.