One more catch:
Browser side:
[[language]]
"GET /rr_status?type=1" - successful request (req1)
"GET /rr_status?type=1" - successful request according to Wireshark, but 200 OK empty request for browser (req2)
"GET /" - again, JS requests index page (/) after failure
Wireshark side:
req1 (successful):
[[language]]
GET /rr_status?type=1 HTTP/1.1
Host: 192.168.0.28
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Referer: http://192.168.0.28/
DNT: 1
Connection: keep-alive
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Content-Type: application/json
Content-Length: 387
Connection: close
{"status":"I","coords":{"axesHomed":[0,0,0],"extr":[0.0],"xyz":[0.00,0.00,0.00]},"currentTool":0,"params":{"atxPower":0,"fanPercent":[0.00,100.00,0.00],"speedFactor":100.00,"extrFactors":[100.00]},"seq":1204,"sensors":{"probeValue":0,"fanRPM":0},"temps":{"bed":{"current":26.6,"active":0.0,"state":2},"heads":{"current":[25.8],"active":[0.0],"standby":[0.0],"state":[2]}},"time":26601.2}
req2 (shown with 200 OK status but with empty response body):
[[language]]
GET /rr_status?type=1 HTTP/1.1
Host: 192.168.0.28
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Referer: http://192.168.0.28/
DNT: 1
Connection: keep-alive
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Content-Type: application/json
Content-Length: 387
Connection: close
{"status":"I","coords":{"axesHomed":[0,0,0],"extr":[0.0],"xyz":[0.00,0.00,0.00]},"currentTool":0,"params":{"atxPower":0,"fanPercent":[0.00,100.00,0.00],"speedFactor":100.00,"extrFactors":[100.00]},"seq":1204,"sensors":{"probeValue":0,"fanRPM":0},"temps":{"bed":{"current":26.7,"active":0.0,"state":2},"heads":{"current":[25.8],"active":[0.0],"standby":[0.0],"state":[2]}},"time":26601.9}
The only thing I can understand at this moment that DWC requests index page (/) if it receives empty AJAX response and after this stops any further requests.