Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Issue with xmlHttprequest

  • 1 reply
  • 2 have this problem
  • Last reply by guigs

more options

I have a light weight embedded webserver running on a device. From my webpage, I send xmlhttprequest to server. I have connected my PC with a switch and from the switch I have made connection to my board. My issue is, when i switch off my board, i should get network error . But no errors other than time out occurs here.

But when i connect my PC directly to board and switch off board or remove network cable, it responds with some error code other than 200. How could I solve this issue? Please help

Modified by N123

All Replies (1)

more options

Hi Ash123, Thank you for posting your question with Mozilla support. The answer to this question with heavy depend on the format if the request and the type of error message that you are expecting. If you are testing the connection of the "embedded" server in Firefox, I would recommend changing the options to remember no history so there is no cached page. The if you would like more detailed Internet traffic check out the network tool under Tools>Web Developer tools > Network That menu will give you more than 200, it will have all the header info of the requeat. If you are curious about the error code if of provide the response header w/o security info We can help.