Is there an open source machine-readable grammar for HTTP / 1.1 requests and responses? In particular, I am looking for a grammar that is adopted by one of the popular parser generators (e.g. ANTLR, CUP, BNFC, ...).
You can try Mongrel grammar which uses ragel . It is regular and therefore faster.
There, improved (ie, more accurate, less idiomatic, and "pure") ABNFs in HTTPbis; see projects related to http://tools.ietf.org/wg/httpbis/ or compiled at http://greenbytes.de/tech/webdav/httpbis.abnf
Source: https://habr.com/ru/post/1302016/More articles:Zend Framework plugins / modules - phpPHP function returns the length of the longest string argument - phpHow to determine the version of SharePoint using SharePoint Web Services? - web-servicesC ++ windows bitmap draw text - c ++Am I getting the same version name for WSS and MOSS 2007? - pythonPrevent users from rewriting each other - c #Cross-platform installer for Qt - installerIs it possible to apply a DataTemplate to a page? - wpfHow to log messages passing through ejabberd - loggingBest user authentication practice in JSF 2.0? - javaAll Articles