mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-14 09:48:01 +08:00
Remove leftovers
This commit is contained in:
parent
a09238debd
commit
d130c6f42d
@ -780,9 +780,6 @@ struct mg_http_header {
|
||||
};
|
||||
|
||||
struct mg_http_message {
|
||||
// GET /foo/bar/baz?aa=b&cc=ddd HTTP/1.1
|
||||
// method |-| |----uri---| |--query--| |proto-|
|
||||
|
||||
struct mg_str method, uri, query, proto; // Request/response line
|
||||
struct mg_http_header headers[MG_MAX_HTTP_HEADERS]; // Headers
|
||||
struct mg_str body; // Body
|
||||
@ -821,7 +818,6 @@ void mg_http_serve_file(struct mg_connection *, struct mg_http_message *,
|
||||
void mg_http_reply(struct mg_connection *, int status_code, const char *headers,
|
||||
const char *body_fmt, ...);
|
||||
struct mg_str *mg_http_get_header(struct mg_http_message *, const char *name);
|
||||
void mg_http_event_handler(struct mg_connection *c, int ev);
|
||||
int mg_http_get_var(const struct mg_str *, const char *name, char *, size_t);
|
||||
int mg_url_decode(const char *s, size_t n, char *to, size_t to_len, int form);
|
||||
size_t mg_url_encode(const char *s, size_t n, char *buf, size_t len);
|
||||
|
@ -10,9 +10,6 @@ struct mg_http_header {
|
||||
};
|
||||
|
||||
struct mg_http_message {
|
||||
// GET /foo/bar/baz?aa=b&cc=ddd HTTP/1.1
|
||||
// method |-| |----uri---| |--query--| |proto-|
|
||||
|
||||
struct mg_str method, uri, query, proto; // Request/response line
|
||||
struct mg_http_header headers[MG_MAX_HTTP_HEADERS]; // Headers
|
||||
struct mg_str body; // Body
|
||||
@ -51,7 +48,6 @@ void mg_http_serve_file(struct mg_connection *, struct mg_http_message *,
|
||||
void mg_http_reply(struct mg_connection *, int status_code, const char *headers,
|
||||
const char *body_fmt, ...);
|
||||
struct mg_str *mg_http_get_header(struct mg_http_message *, const char *name);
|
||||
void mg_http_event_handler(struct mg_connection *c, int ev);
|
||||
int mg_http_get_var(const struct mg_str *, const char *name, char *, size_t);
|
||||
int mg_url_decode(const char *s, size_t n, char *to, size_t to_len, int form);
|
||||
size_t mg_url_encode(const char *s, size_t n, char *buf, size_t len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user