Well my first contribution is off to an embarrassing start, here is the proposed patch attached!
On Thu, 9 Jan 2025 at 12:19, Chris Hibbert <chibb...@gmail.com> wrote: > Currently the httpclient supports these methods: get, head, put, post, > delete > > https://www.arpalert.org/src/haproxy-lua-api/2.9/index.html#httpclient-class > > I need patch support, and this has also been requested by others here: > https://github.com/haproxy/haproxy/issues/2489#issuecomment-2003414422 > > I have made what I believe are the correct code changes, and have tested > that I can now send PATCH via the httpclient - this is working fine. > > There are some changes I needed to make to add PATCH into the list of > methods, and a few surrounding changes which I'm not sure how are used/to > test (e.g. open telemetry, spoe code), I'm very happy to remove any > unnecessary changes which those with more experience say are not required. > > TIA. >
0001-Add-PATCH-method-to-httpclient.patch
Description: Binary data