Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add .rst to mimetypes #101137

Closed
Closed
Assignees
sobolevn
Labels
stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement
@tucked

Description

@tucked
>>>importmimetypes>>>mimetypes.guess_type("README.rst",strict=False)(None,None)

In thepython:3.11 Docker image, we geta vanity type:

>>>mimetypes.guess_type("README.rst",strict=False)('text/prs.fallenstein.rst',None)

I think most people would expecttext/x-rst. Even better would be to get it registered!

Linked PRs

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp