Skip to content

Nim 2.x support and replace std/httpclient with puppy#10

Merged
beshrkayali merged 2 commits into
masterfrom
nim2x
Jun 2, 2026
Merged

Nim 2.x support and replace std/httpclient with puppy#10
beshrkayali merged 2 commits into
masterfrom
nim2x

Conversation

@beshrkayali

@beshrkayali beshrkayali commented Jun 2, 2026

Copy link
Copy Markdown
Owner

std/httpclient on modern Nim rejects WebDAV's custom verbs (PROPFIND, MKCOL, MOVE, COPY) with "Invalid HTTP method name" before any network call because the HttpMethod enum has no WebDAV verbs and there's no public API to send a custom one. This broke ls/props/mkdir/mv/cp on Nim >= ~1.6 (#7) .

This PR switches the transport to puppy which sends arbitrary verbs and handles TLS/redirects via the OS HTTP stack. puppy is synchronous, so the client is now synchronous too (BREAKING change).

@beshrkayali beshrkayali changed the title Nim 2.x support / Replace std/httpclient with puppy Nim 2.x support and replace std/httpclient with puppy Jun 2, 2026
@beshrkayali beshrkayali merged commit a81a003 into master Jun 2, 2026
8 checks passed
@beshrkayali beshrkayali deleted the nim2x branch June 2, 2026 17:04
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.

1 participant