Skip to content

feat(url): accept path-like objects for the url parameter#449

Open
SAY-5 wants to merge 1 commit into
Kozea:mainfrom
SAY-5:feat/url-pathlike
Open

feat(url): accept path-like objects for the url parameter#449
SAY-5 wants to merge 1 commit into
Kozea:mainfrom
SAY-5:feat/url-pathlike

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 18, 2026

Closes #429. The url parameter now accepts pathlib.Path and other os.PathLike objects in addition to strings, as confirmed wanted by a maintainer in the issue thread. Path-like values are normalized with os.fspath so existing string behavior is unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

url keyword parameter does not accept pathlib.Path objects

1 participant