fix: rewrite markdown doc requests internally instead of 303 redirect#808
Conversation
Agents requesting docs with Accept: text/markdown were getting 303 redirects to .md URLs, which many HTTP clients don't follow properly. Instead of redirecting, internally rewrite the request to the .md route and serve the markdown content directly. https://claude.ai/code/session_01VBx5hnhWturAn1bBo68sCt
✅ Deploy Preview for tanstack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe code changes how non- Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |

Agents requesting docs with Accept: text/markdown were getting 303
redirects to .md URLs, which many HTTP clients don't follow properly.
Instead of redirecting, internally rewrite the request to the .md route
and serve the markdown content directly.
https://claude.ai/code/session_01VBx5hnhWturAn1bBo68sCt
Summary by CodeRabbit