web64 / php-nlp-client

PHP Client for NLP Server
MIT License
73 stars 13 forks source link

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

Open aflorea4 opened 2 years ago

aflorea4 commented 2 years ago

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.