Improve testing program
This commit is contained in:
+6
-1
@@ -29,6 +29,10 @@ void send_request(TinyHTTPStream *stream, const char *str);
|
||||
// "res".
|
||||
void recv_response(TinyHTTPStream *stream, Response *res, char *dst, int cap);
|
||||
|
||||
int parse_request(TinyHTTPString txt, TinyHTTPRequest *req, char *buf, int max);
|
||||
|
||||
int match_request(TinyHTTPRequest *r1, TinyHTTPRequest *r2);
|
||||
|
||||
int header_exists(Response *res, TinyHTTPString name);
|
||||
int header_exists_with_value(Response *res, TinyHTTPString name, TinyHTTPString value);
|
||||
|
||||
@@ -39,4 +43,5 @@ int header_exists_with_value(Response *res, TinyHTTPString name, TinyHTTPString
|
||||
#define TEST_END
|
||||
|
||||
void test_reuse(void);
|
||||
void test_chunking(void);
|
||||
void test_chunking(void);
|
||||
void test_parse_request(void);
|
||||
Reference in New Issue
Block a user