Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
please implement http put and delete in httpClient #8777
import httpclient, asyncdispatch let client = newAsyncHttpClient() let response = await client.request("http://httpbin.org/put", HttpPut)
The HTTP method enum is in the httpcore module which httpclient exports but I guess that might be hard to find in the documentation. If you want to add put and delete alias procs to httpclient you can define them in your own code.
It would be nice just to have:
Yes I know theres workaround and hacks you can use on your own code, also some API use an HTTP header to "fake" a