jeremychone / rust-httpc-test

Minimalistic HTTP Client Test Utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PUT elicits a POST

snarkipus opened this issue · comments

Great little tool - I came across it in your Axum video (which is also amazing).

Using it some scratch integration, I noticed that PUTs would fail with records already existing - poking around, it looks like it calls the request::post method instead of request::put under the hood.

oops, let me check.

The PUT was correct, but the PATCH was wrong.
image

Fixing that now.

So, I fixed the #5, where patch was mapped to put. However, put seems to have been mapped to post. Let me know if I missed something.

Closing this one. As the issue was with patch I think and was fixed in #5.