mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 22:14:18 +02:00
Remove overly restrictive MIME type validation from Resource (#2585)
This commit is contained in:
parent
9b41d16dc0
commit
0bcd69cd98
1 changed files with 0 additions and 1 deletions
|
|
@ -42,7 +42,6 @@ class Resource(FastMCPComponent):
|
|||
mime_type: str = Field(
|
||||
default="text/plain",
|
||||
description="MIME type of the resource content",
|
||||
pattern=r"^[a-zA-Z0-9]+/[a-zA-Z0-9\-+.]+$",
|
||||
)
|
||||
annotations: Annotated[
|
||||
Annotations | None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue