crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs | LICENSE

requestmethod.cc (221B)


      1 #include "httpbuffer"
      2 
      3 Httpbuffer::RequestMethod Httpbuffer::requestmethod() {
      4     PROFILE("Httpheader::requestmethod");
      5 
      6     if (bufsz() >= 3 && !strncmp(bufdata(), "GET", 3))
      7 	return (m_get);
      8 
      9     return (m_other);
     10 }
     11