fix(subscribestar): initial feed GET is a navigation, not XHR (first-run drift) #118
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First live SubscribeStar run (cheunart) tripped the drift guard. Root cause: the client set
X-Requested-With: XMLHttpRequestsession-wide, so the initial creator-page GET was flagged XHR → SubscribeStar (Rails) content-negotiated it to a non-HTML body with noposts_container-list→ drift. The browser-saved page was normal (parser is fine); only our live fetch differed.Fix: initial feed GET uses browser-like navigation headers (Accept: html, no XHR); the XHR header + JSON Accept apply per-request only on the "load more" endpoint. Drift message now reports response length + a JSON hint. Regression test pins the header split.
CI green on dev (run 1224,
78a3977). Re-pull download-worker after deploy and re-run a SubscribeStar source.🤖 Generated with Claude Code