cirocosta / yahttp-parser

A naive C++ HTTP parser implementation using Bison and Flex
GNU General Public License v2.0
1 stars 1 forks source link

yahttp-parser

A naive C++ HTTP parser implementation using Bison and Flex

ATTENTION: this is NOT a full spec conformant parser. It DOES NOT aim to comply with all of the requirements associated with the roles it partakes in the HTTP specification.

Build Status

Install

Make sure that you have all the dependencies installed:

Then, simply:

$ mkdir build
$ cd build
$ cmake ..
$ make && make test

*: If you've built bison from source and in the make step it claims that there's a problem with m4, try setting the pkgdata_dir:

export BISON_PKGDATADIR=/usr/local/share/bison/data

CMake

yahtml-parser_INCLUDES  : include directories
yahtml-parser_LIBS      : libs to link against

HTTP 1.1

If you wish to get in touch with the spec, take a look at

(see RFC2616 is Dead)

LICENSE

GPLv2