Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.12 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.12 KB

Http Normalizer

# installing dependencies for tests
yay -S --noconfirm doctest

# clone the project and fetch any submodules
git clone [email protected]:Manu-sh/http_normalizer.git
cd http_normalizer
git submodule update --init --recursive 




# to build only http_normalizer
cd http_normalizer
mkdir -p build && cd build
cmake ..
make -j`nproc --all` && make test

# to build and install the php-extension
cd php-extension
make
sudo make install

for building the php extension phpcpp is required

The trailing slash is always removed.

http_normalizer rely on http_normalizer_parts for a comprensive list of normalization performed see http_normalizer_parts. you can find more examples here.

Copyright © 2020, Manu-sh, [email protected]. Released under the MIT license.