kassner / log-parser

PHP Web Server Log Parser Library
Apache License 2.0
339 stars 64 forks source link

Add new unofficial pattern '%S' #27

Closed Timandes closed 7 years ago

Timandes commented 7 years ago

The '%S' stands for 'Request Scheme', which is defined as Nginx variable $scheme[1] and is a custom pattern.

[1] https://nginx.org/en/docs/http/ngx_http_core_module.html#var_scheme

kassner commented 7 years ago

Thanks!

Are you able to write some unit tests for this?

Timandes commented 7 years ago

Done. Is this class appropiate?

kassner commented 7 years ago

@Timandes awesome! Thanks you for the contribution!