diff options
author | Stephen Finucane <stephen@that.guru> | 2018-12-07 12:13:32 +0000 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2018-12-22 17:19:06 +0000 |
commit | dc48fbce99efe7d13987a3f510f7dee389636eba (patch) | |
tree | 99143b5e3d75b8a700c77542a9e8b28d38bf3c88 /docs/releases | |
parent | b21ee9f512457da50ece329940bd121d1d59bc99 (diff) | |
download | patchwork-dc48fbce99efe7d13987a3f510f7dee389636eba.tar patchwork-dc48fbce99efe7d13987a3f510f7dee389636eba.tar.gz |
REST: Handle JSON requests
This was raising an attribute error when switching tests to use JSON
bodies instead of form-data.
AttributeError: 'dict' object has no attribute '_mutable'
The easy fix is to check if it's a dictionary and avoid the mutability
check if so.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'docs/releases')
0 files changed, 0 insertions, 0 deletions