Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b1729d051f
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (22 sloc) 0.41 kb
#include "xml_ahparse.h"
#ifdef HAVE_EXPAT
void
http_parser_xml_t::v_cancel ()
{
hdr.cancel ();
_xml.cancel ();
}
void
http_parser_xml_t::v_parse_cb1 (int status)
{
if (hdr.mthd == HTTP_MTHD_POST) {
cbi::ptr pcb;
if (!(pcb = prepare_post_parse (status)))
return;
_xml.init ();
_xml.parse (pcb);
} else {
finish (HTTP_NOT_ACCEPTABLE);
}
}
#endif /* HAVE_EXPAT */
Jump to Line
Something went wrong with that request. Please try again.