Skip to content

CORSMiddleware Not Work ,How can i deal with options request #1119

@CL545740896

Description

@CL545740896

First check

  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.

Description

How can I [...]?

Is it possible to [...]?

Additional context

Add any other context or screenshots about the feature request here.
image

Result:
INFO: 127.0.0.1:52929 - "OPTIONS /test HTTP/1.1" 405

{
"detail": "Method Not Allowed"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions