Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PUT method in CurlBackend #1423

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

aartigao
Copy link
Contributor

I'm working on a CLI interface with Scala Native that issues request to an HTTP server, with the unfortunate luck that the first use case is a PUT request with body. Using CurlBackend for this scenario leaves the client completely frozen (I guess some C internals that I don't understand).

Looks like it's not working because deprecated flags are being used in calls to libcurl. Following the recommended example in httpput-postfields it's clear that we need to use a custom request.

Currently PUT is not working because deprecated flags are being used in
calls to libcurl.
@Pask423 Pask423 self-requested a review April 29, 2022 08:15
@aartigao
Copy link
Contributor Author

More information about the deprecation #6186

@Pask423 Pask423 merged commit 30b3b36 into softwaremill:master Apr 29, 2022
@Pask423
Copy link
Contributor

Pask423 commented Apr 29, 2022

Thanks!

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.

2 participants