Why a Page Loads Fine Directly But Fails When Fetched
Field Note #144
You paste a URL straight into your browser’s address bar. It loads perfectly — real content, right there. But the exact same URL, requested by your own page’s JavaScript instead of typed in directly, fails every time. Same file. Same server. Same everything, as far as you can tell. Different result.
Tagged in :
More from the field
Bisect to an Empty Baseline Before Trusting Any Single Theory
.
Multiple plausible-sounding theories for a bug each turned out to be wrong when actually tested – time was spent building fixes…
A Security Dashboard’s Activity Log Can Lag a Full Day Behind Real Time
.
Trying to check a security tool’s activity log for an event that had just happened showed nothing at all.