Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
e3da-public
contiki-ng
Commits
dd148e1d
Commit
dd148e1d
authored
Jul 12, 2012
by
Adam Dunkels
Browse files
Bumped version number
parent
26a87ee9
Changes
4
Hide whitespace changes
Inline
Side-by-side
apps/webserver/http-strings
View file @
dd148e1d
...
...
@@ -14,8 +14,8 @@ http_index_htm "/index.htm"
http_index_html "/index.html"
http_404_html "/404.html"
http_referer "Referer:"
http_header_200 "HTTP/1.0 200 OK\r\nServer: Contiki/2.
4
http://www.
sics.se/
contiki/\r\nConnection: close\r\n"
http_header_404 "HTTP/1.0 404 Not found\r\nServer: Contiki/2.
4
http://www.
sics.se/
contiki/\r\nConnection: close\r\n"
http_header_200 "HTTP/1.0 200 OK\r\nServer: Contiki/2.
6
http://www.contiki
-os.org
/\r\nConnection: close\r\n"
http_header_404 "HTTP/1.0 404 Not found\r\nServer: Contiki/2.
6
http://www.contiki
-os.org
/\r\nConnection: close\r\n"
http_content_type_plain "Content-type: text/plain\r\n\r\n"
http_content_type_html "Content-type: text/html\r\n\r\n"
http_content_type_css "Content-type: text/css\r\n\r\n"
...
...
apps/webserver/http-strings.c
View file @
dd148e1d
...
...
@@ -46,12 +46,12 @@ const char http_404_html[10] =
const
char
http_referer
[
9
]
=
/* "Referer:" */
{
0x52
,
0x65
,
0x66
,
0x65
,
0x72
,
0x65
,
0x72
,
0x3a
,
};
const
char
http_header_200
[
8
6
]
=
/* "HTTP/1.0 200 OK\r\nServer: Contiki/2.
4
http://www.
sics.se/
contiki/\r\nConnection: close\r\n" */
{
0x48
,
0x54
,
0x54
,
0x50
,
0x2f
,
0x31
,
0x2e
,
0x30
,
0x20
,
0x32
,
0x30
,
0x30
,
0x20
,
0x4f
,
0x4b
,
0xd
,
0xa
,
0x53
,
0x65
,
0x72
,
0x76
,
0x65
,
0x72
,
0x3a
,
0x20
,
0x43
,
0x6f
,
0x6e
,
0x74
,
0x69
,
0x6b
,
0x69
,
0x2f
,
0x32
,
0x2e
,
0x3
4
,
0x20
,
0x68
,
0x74
,
0x74
,
0x70
,
0x3a
,
0x2f
,
0x2f
,
0x77
,
0x77
,
0x77
,
0x2e
,
0x
7
3
,
0x6
9
,
0x6
3
,
0x7
3
,
0x
2e
,
0x
73
,
0x6
5
,
0x2
f
,
0x63
,
0x6f
,
0x
6e
,
0x
74
,
0x6
9
,
0x
6b
,
0x6
9
,
0x2f
,
0xd
,
0xa
,
0x43
,
0x6f
,
0x6e
,
0x6e
,
0x65
,
0x63
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x3a
,
0x20
,
0x63
,
0x6c
,
0x6f
,
0x73
,
0x65
,
0xd
,
0xa
,
};
const
char
http_header_404
[
9
3
]
=
/* "HTTP/1.0 404 Not found\r\nServer: Contiki/2.
4
http://www.
sics.se/
contiki/\r\nConnection: close\r\n" */
{
0x48
,
0x54
,
0x54
,
0x50
,
0x2f
,
0x31
,
0x2e
,
0x30
,
0x20
,
0x34
,
0x30
,
0x34
,
0x20
,
0x4e
,
0x6f
,
0x74
,
0x20
,
0x66
,
0x6f
,
0x75
,
0x6e
,
0x64
,
0xd
,
0xa
,
0x53
,
0x65
,
0x72
,
0x76
,
0x65
,
0x72
,
0x3a
,
0x20
,
0x43
,
0x6f
,
0x6e
,
0x74
,
0x69
,
0x6b
,
0x69
,
0x2f
,
0x32
,
0x2e
,
0x3
4
,
0x20
,
0x68
,
0x74
,
0x74
,
0x70
,
0x3a
,
0x2f
,
0x2f
,
0x77
,
0x77
,
0x77
,
0x2e
,
0x
7
3
,
0x6
9
,
0x6
3
,
0x7
3
,
0x
2e
,
0x
73
,
0x6
5
,
0x2
f
,
0x63
,
0x6f
,
0x
6e
,
0x
74
,
0x6
9
,
0x
6b
,
0x6
9
,
0x2f
,
0xd
,
0xa
,
0x43
,
0x6f
,
0x6e
,
0x6e
,
0x65
,
0x63
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x3a
,
0x20
,
0x63
,
0x6c
,
0x6f
,
0x73
,
0x65
,
0xd
,
0xa
,
};
const
char
http_header_200
[
8
5
]
=
/* "HTTP/1.0 200 OK\r\nServer: Contiki/2.
6
http://www.contiki
-os.org
/\r\nConnection: close\r\n" */
{
0x48
,
0x54
,
0x54
,
0x50
,
0x2f
,
0x31
,
0x2e
,
0x30
,
0x20
,
0x32
,
0x30
,
0x30
,
0x20
,
0x4f
,
0x4b
,
0xd
,
0xa
,
0x53
,
0x65
,
0x72
,
0x76
,
0x65
,
0x72
,
0x3a
,
0x20
,
0x43
,
0x6f
,
0x6e
,
0x74
,
0x69
,
0x6b
,
0x69
,
0x2f
,
0x32
,
0x2e
,
0x3
6
,
0x20
,
0x68
,
0x74
,
0x74
,
0x70
,
0x3a
,
0x2f
,
0x2f
,
0x77
,
0x77
,
0x77
,
0x2e
,
0x
6
3
,
0x6
f
,
0x6
e
,
0x7
4
,
0x
69
,
0x
6b
,
0x6
9
,
0x2
d
,
0x6f
,
0x
73
,
0x
2e
,
0x6
f
,
0x
72
,
0x6
7
,
0x2f
,
0xd
,
0xa
,
0x43
,
0x6f
,
0x6e
,
0x6e
,
0x65
,
0x63
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x3a
,
0x20
,
0x63
,
0x6c
,
0x6f
,
0x73
,
0x65
,
0xd
,
0xa
,
};
const
char
http_header_404
[
9
2
]
=
/* "HTTP/1.0 404 Not found\r\nServer: Contiki/2.
6
http://www.contiki
-os.org
/\r\nConnection: close\r\n" */
{
0x48
,
0x54
,
0x54
,
0x50
,
0x2f
,
0x31
,
0x2e
,
0x30
,
0x20
,
0x34
,
0x30
,
0x34
,
0x20
,
0x4e
,
0x6f
,
0x74
,
0x20
,
0x66
,
0x6f
,
0x75
,
0x6e
,
0x64
,
0xd
,
0xa
,
0x53
,
0x65
,
0x72
,
0x76
,
0x65
,
0x72
,
0x3a
,
0x20
,
0x43
,
0x6f
,
0x6e
,
0x74
,
0x69
,
0x6b
,
0x69
,
0x2f
,
0x32
,
0x2e
,
0x3
6
,
0x20
,
0x68
,
0x74
,
0x74
,
0x70
,
0x3a
,
0x2f
,
0x2f
,
0x77
,
0x77
,
0x77
,
0x2e
,
0x
6
3
,
0x6
f
,
0x6
e
,
0x7
4
,
0x
69
,
0x
6b
,
0x6
9
,
0x2
d
,
0x6f
,
0x
73
,
0x
2e
,
0x6
f
,
0x
72
,
0x6
7
,
0x2f
,
0xd
,
0xa
,
0x43
,
0x6f
,
0x6e
,
0x6e
,
0x65
,
0x63
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x3a
,
0x20
,
0x63
,
0x6c
,
0x6f
,
0x73
,
0x65
,
0xd
,
0xa
,
};
const
char
http_content_type_plain
[
29
]
=
/* "Content-type: text/plain\r\n\r\n" */
{
0x43
,
0x6f
,
0x6e
,
0x74
,
0x65
,
0x6e
,
0x74
,
0x2d
,
0x74
,
0x79
,
0x70
,
0x65
,
0x3a
,
0x20
,
0x74
,
0x65
,
0x78
,
0x74
,
0x2f
,
0x70
,
0x6c
,
0x61
,
0x69
,
0x6e
,
0xd
,
0xa
,
0xd
,
0xa
,
};
...
...
apps/webserver/http-strings.h
View file @
dd148e1d
...
...
@@ -14,8 +14,8 @@ extern const char http_index_htm[11];
extern
const
char
http_index_html
[
12
];
extern
const
char
http_404_html
[
10
];
extern
const
char
http_referer
[
9
];
extern
const
char
http_header_200
[
8
6
];
extern
const
char
http_header_404
[
9
3
];
extern
const
char
http_header_200
[
8
5
];
extern
const
char
http_header_404
[
9
2
];
extern
const
char
http_content_type_plain
[
29
];
extern
const
char
http_content_type_html
[
28
];
extern
const
char
http_content_type_css
[
27
];
...
...
core/contiki-version.h
View file @
dd148e1d
...
...
@@ -36,7 +36,7 @@
#define __CONTIKI_VERSION__
#ifndef CONTIKI_VERSION_STRING
#define CONTIKI_VERSION_STRING "Contiki 2.
5
"
#define CONTIKI_VERSION_STRING "Contiki 2.
6
"
#endif
/* CONTIKI_VERSION_STRING */
#endif
/* __CONTIKI_VERSION__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment