1 #ifndef HTTP_H_INCLUDED
2 #define HTTP_H_INCLUDED
6 /*********************************************************************
8 *********************************************************************/
10 abyss_bool RequestValidURI(TSession *r);
11 abyss_bool RequestValidURIPath(TSession *r);
12 abyss_bool RequestUnescapeURI(TSession *r);
14 abyss_bool RequestRead(TSession *r);
15 void RequestInit(TSession *r,TConn *c);
16 void RequestFree(TSession *r);
18 abyss_bool RequestAuth(TSession *r,char *credential,char *user,char *pass);
20 /*********************************************************************
22 *********************************************************************/
25 HTTPReasonByStatus(uint16_t const code);
28 HTTPRead(TSession * const sessionP,
29 const char * const buffer,
33 HTTPWriteBodyChunk(TSession * const sessionP,
34 const char * const buffer,
38 HTTPWriteEndChunk(TSession * const sessionP);
41 HTTPKeepalive(TSession * const sessionP);
44 HTTPWriteContinue(TSession * const sessionP);