by cassidoo on 5/17/23, 2:49 AM with 10 comments
by compumike on 5/20/23, 11:38 PM
The article is good for one-off debugging (curl is my personal favorite). For continuous monitoring, we at Heii On-Call just last week released website monitoring to assert an HTTP response status code plus Location header [1], and have some best practices for redirect monitoring for anyone with a website which will be published next week.
FYI these features were requested by a user who signed up from HN a few weeks ago and wanted to monitor these redirects in addition to their homepage. Hope that helps.
[1] https://heiioncall.com/blog/your-probes-your-rules-expected-...
by asb on 5/21/23, 5:22 AM
by stranded22 on 5/19/23, 8:40 AM
If you can use chrome, then use this one, best I have found in my travels - https://chrome.google.com/webstore/detail/redirect-path/
Other than that, I found this article really interesting - has gotten me into now exploring curl (especially after setting my pi 4 up as a mullvad vpn gateway with nextdns for my home network)
by WirelessGigabit on 5/20/23, 9:50 PM
I quite often try to debug a 201 and the body is not retained in the Dev Tools, even with 'Preserve logs' turned on.
by iudqnolq on 5/19/23, 7:01 AM
It particularly annoys me if you reload a page with a websocket open you see the logs for the websocket closing right at the start of the subsequent load. (Preserve logs is off of course)
There are multiple decades old bugzilla discussions about Firefox's idiosyncratic websocket lifecycle handling. Not sure exactly which causes this, doesn't seem to be much point in debugging further
by cmcconomy on 5/18/23, 10:09 PM
by montroser on 5/20/23, 8:57 PM
This is especially useful in the funnest kind of cases where you have mutual recursion or other types of loops.