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

Responses for get & post to NLPSERVER different of "HTTP/1.0 200 OK" are treated as error

Open aflorea4 opened this issue 3 years ago • 0 comments

I encountered a problem regarding the package request response headers interpretation from the NLP server.

The request shoud match exactly 'HTTP/1.0 200 OK' so if the NLP server responses are sent using HTTP1/1 or even more, the package will throw an error.

Working of a fix.

aflorea4 avatar Jul 19 '22 08:07 aflorea4