why $data is printed twice? #561
-
I listen to port 8080 and open an ngrok url from the browser, it responds with the header, but twice, why? |
Beta Was this translation helpful? Give feedback.
Answered by
WyriHaximus
Mar 7, 2024
Replies: 1 comment 6 replies
-
Most browsers will attempt to get your site's favicon at |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes that is how you could handle requests. There is a bunch of more details on https://reactphp.org/http/#server-usage about that. Honestly, I thought you added the on data on the connection for debugging.