PATCH Bad Request (400) Using Requests #1274
iam using requests.patch
but i got 400 bad request
The text was updated successfully, but these errors were encountered:
I've found HTTP 400 error when patching a sub-document, If the key being patched is nullable and still does not exist in the document being patched.
Note: Using eve 0.8.1 in same scenario, the error does not occur.
The error stack is:
Minimum schema for example is like this:
PATCH body is:
@gwainer can you try with eve from this branch https://github.com/sunbit/eve/tree/fix_put_normalize_%231280
I have a pending PR #1280 to approve, that fixed just that lines of code that are giving you the problem.