���� text/plain ��������
| 84 | private: |
| 85 | // ���� text/plain �������� |
| 86 | bool do_plain(acl::http_request& req) |
| 87 | { |
| 88 | acl::string body; |
| 89 | if (req.get_body(body, to_charset_) == false) |
| 90 | { |
| 91 | logger_error("get http body error"); |
| 92 | return false; |
| 93 | } |
| 94 | printf("body:\r\n(%s)\r\n", body.c_str()); |
| 95 | return true; |
| 96 | } |
| 97 | |
| 98 | // ���� text/xml �������� |
| 99 | bool do_xml(acl::http_request& req) |