AI Briefing
KO

Python Projects Now Support Routing Rules

·2026.08.26 09:00

Key point

Vercel now supports CDN-based routing rules for Python projects, enabling instant application without deployment.

Details

Vercel now supports routing rules for Python projects. This allows you to configure response headers or rewrite requests to internal paths for apps built with FastAPI, Django, Flask, etc.

The Vercel CDN evaluates rules before requests reach the application, so changes take effect immediately without a new deployment. For example, you can create a rule to rewrite requests from /old to /new.

Rules can be managed via the CDN tab in the dashboard, the Vercel CLI, or the Python vercel SDK. Using the CLI, you can add rules with the vercel routes add command and deploy them to production with vercel routes publish. With the Python SDK, you can automate the same tasks using the add_route and update_route_version methods.

You can also define rewrite rules in the vercel.json file. However, project-level rules exist outside of deployments and have higher priority than rewrites in vercel.json for the same path. Each management method suits different workflows, such as visual editing, one-shot terminal changes, CI/CD automation, and rewrites deployed alongside code.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.