Skip to content

Accept requests with attributes in the curl backend - #3093

Merged
adamw merged 1 commit into
masterfrom
remove-curl-attributes-check
Dec 3, 2026
Merged

adamw merged 1 commit into
masterfrom
remove-curl-attributes-check

Conversation

@adamw

@adamw adamw commented Dec 3, 2026

Copy link
Copy Markdown
Member

The curl backend failed every request that had attributes. sttp's own features use attributes: .auth.digest(...) with DigestAuthenticationBackend, and .cookieStorage(...), which FollowRedirectsBackend passes on to the backend. Both always failed on curl.

The backend doesn't use attributes, so it now ignores them, like the other backends.

Adds a native digest auth test, which failed before this change.

Attributes are used by core features, such as digest auth and cookie storage.
@adamw
adamw merged commit 3482908 into master Dec 3, 2026
68 of 71 checks passed
@adamw
adamw deleted the remove-curl-attributes-check branch December 3, 2026 09:31
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