projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Draw some info to display, and refresh it every some time. Add cgi to write message...
[bertos.git]
/
bertos
/
net
/
http.c
diff --git
a/bertos/net/http.c
b/bertos/net/http.c
index 9098da51dbeb87f4bc5af2c80e112e4dea25972d..fbb43c658311edbcb7a17f493d7d3e911d0a6004 100644
(file)
--- a/
bertos/net/http.c
+++ b/
bertos/net/http.c
@@
-250,8
+250,8
@@
int http_searchContentType(const char *name)
/**
/**
- * Send on \param client socket
- *
the 200 Ok http header
+ * Send on \param client socket
the 200 Ok http header with
+ *
select \param content_type
*/
void http_sendOk(struct netconn *client, int content_type)
{
*/
void http_sendOk(struct netconn *client, int content_type)
{
@@
-264,8
+264,8
@@
void http_sendOk(struct netconn *client, int content_type)
/**
/**
- * Send on \param client socket
- *
the 404 File not found http header
+ * Send on \param client socket
the 404 File not found http header with
+ *
select \param content_type
*/
void http_sendFileNotFound(struct netconn *client, int content_type)
{
*/
void http_sendFileNotFound(struct netconn *client, int content_type)
{
@@
-277,8
+277,8
@@
void http_sendFileNotFound(struct netconn *client, int content_type)
}
/**
}
/**
- * Send on \param client socket
- *
the 500 internal server error http header
+ * Send on \param client socket
the 500 internal server error http header with
+ *
select \param content_type
*/
void http_sendInternalErr(struct netconn *client, int content_type)
{
*/
void http_sendInternalErr(struct netconn *client, int content_type)
{