Waiting for HTTP Response

When using WiFiSSLClient is it common practice to put a few seconds delay to wait for the response from the server to come back? In my sketch if I don't put a delay before the client.available() call it will seem like the server never responded. Is this the right thing to do or am I missing something?

@guelo could you please share an example sketch? What hardware are you using?

I am not seeing this when I run the WiFiSSLClient.ino example sketch. Could you please also try running this example

I think I figured it out. I did not have #include <SPI.h> in the file. Once I included it I no longer needed to add a delay. Does this makes sense?

With or without the “#include <SPI.h>” include both work for me.