Hello,
Currently the server simply ignore this request and close the connection but it seems that because I am not dealing with, it (chrome client) continues and sends two more. Anything I can do to stop it from repeating this request?
Many thanks
Hello,
Currently the server simply ignore this request and close the connection but it seems that because I am not dealing with, it (chrome client) continues and sends two more. Anything I can do to stop it from repeating this request?
Many thanks
If you have an icon for your website, send that, otherwise just send an HTTP 404 response.
Pieter
PieterP:
If you have an icon for your website, send that, otherwise just send an HTTP 404 response.Pieter
Thank you! added a call to send404 below. The first time it (chrome win and android) asked for favicon once and thereafter it stopped asking even once. I then tried with FF/win and got just the same behavior
void send404(){
client.println(F("HTTP/1.1 404 Not Found\nConnection: close\n\n"));
report(F("server-> 404 Not Found sent\r\n"), HI_VERB);
}