php-nlp-client icon indicating copy to clipboard operation
php-nlp-client copied to clipboard

Fixed header interpretation related to HTTP version

Open aflorea4 opened this issue 3 years ago • 1 comments

aflorea4 avatar Jul 19 '22 09:07 aflorea4

Hi,

Thanks for looking into this issue.

Why is composer.json updated?

There are 100+ lines changed in NlpClient.php. Is it possible to create a PR with just the necessary updates? Is it just this one?

if (empty($result) || (isset($http_response_header) && !str_contains($http_response_header[0], '200 OK')))

If so, I can add a fix myself.

Cheers, Olav

olavski avatar Jul 19 '22 09:07 olavski