Commit 6967276
Ahmed Awad
Modify _get_digest to use request.get_data().
* request.data is empty when the request type is application/x-www-form-urlencoded
* request.get_data contains the raw request bytes, cached by flask, and
that works for both application/json and application/x-www-form-urlencoded
Signed-Off-By: Ahmed Awad <ahmed.awad.15@ucl.ac.uk>1 parent 8d3ad24 commit 6967276
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments