Commit dfca376
authored
http.py: Fix cursor in response and set JSON Response as default (#311)
Previously, our `cursor` in a http response was
an integer (as it is a number). The specification
asks however for this attribute ot be a string.
Therefore, we adapt the type.
Fixes #309
Previously, we returned XML by default, if the
`accept_mimetypes` had `*/*` in it. This is non-
compliant to the specification, which expects JSON
to be returned. We fix the issue to return JSON by
default now instead.
Fixes #3101 parent 71a602e commit dfca376
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
0 commit comments