sensaura-public / iotweb

A simple HTTP and WebSocket server component for Windows 10 IoT Core and .NET 4.5
38 stars 21 forks source link

POST method fix, Now HttpHandler is called for POST, and fix for Websocket on latest Safari #9

Open ummarbhutta opened 7 years ago

ummarbhutta commented 7 years ago

This is fix for Bug #6 as well as fix for WebSocket handshake issue on the Safari browser latest version using IPad Pro, same issue is thrown on Mac book pro using Safari Version 10.0.1 (11602.2.14.0.7), It is due to reason of wrong HTTP version sent in upgrade to web-socket response. Expected value is HTTP/1.1 but HTTP/1.0 is returned from this server. After this fix it is working fine on IPad and all other major browsers.

Snapshot of web-socket error on 4shared.com