Illegal Character error from org.eclipse.jetty.http.HttpParser

I am trying to create a new binding, my first, for an HDBaseT matrix that I have here (“Tonlyware 4x4”, sold by HDTVSupply.com).

The matrix supports telnet, RS232 and http - I chose the http version since the others are a bit over my head on how to implement. Unfortunately, it looks like it produces invalid HTML, or at least something that cant be used.

Is there a way to ignore the Illegal Character error coming from org.eclipse.jetty.http.HttpParser? Or can anyone recommend a different way to approach this?

Full error blob below:

2017-04-02 18:48:08.299 [WARN ] [atrix.handler.TonlywareMatrixHandler] - 1 - Requesting URL http://10.11.12.11/tlwdemo.cgi
2017-04-02 18:48:08.327 [WARN ] [org.eclipse.jetty.http.HttpParser   ] - Illegal character 0xA in state=RESPONSE_VERSION for buffer DirectByteBuffer@3057a18a[p=8,l=992,c=16384,r=984]={<html>\r\n<<<\r\n<head>\r\n<meta h...put3 \r\n<input t>> >\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2017-04-02 18:48:08.328 [WARN ] [org.eclipse.jetty.http.HttpParser   ] - badMessage: 400 Illegal character 0xA for HttpReceiverOverHTTP@165f3b82(rsp=IDLE,failure=null)[HttpParser{s=RESPONSE_VERSION,0 of 0}]
2017-04-02 18:48:08.328 [WARN ] [atrix.handler.TonlywareMatrixHandler] - An exception occurred while polling the TonlywareMatrixe matrix: 'java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: bad response on HttpConnectionOverHTTP@1d38037(l:/10.11.12.14:60320 <-> r:/10.11.12.11:80,closed=false)[HttpChannelOverHTTP@2c78d8fd(exchange=HttpExchange@5176f6f6 req=TERMINATED/null@null res=PENDING/null@null)[send=HttpSenderOverHTTP@3e1a5471(req=QUEUED,snd=COMPLETED,failure=null[HttpGenerator{s=START}],recv=HttpReceiverOverHTTP@165f3b82(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0 of 0}]]]'

Thanks for any help

So after doing a bit more research, it looks like this one wont get fixed, and ultimately isnt an openhab issue - the webpage violates the spec, and jetty throws the error.

I took a different approach and used the TCP driver with some rules. Not as robust as an actual driver, but does the trick

Only for info:
Have same Illegal character warning. But only using safari (5.1.7).