Commit e6d4605
authored
Fixes #277 .
Changes proposed in this pull request:
* we use `request.headers["Accept"] = "application/json"` in addition of
appending `format=json` to the query url(look below why).
* changed ocs_regexp to `r"/ocs/v[12]\.php/|/apps/groupfolders/"` until
groupfolder app will fix it.
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
1 parent e56e324 commit e6d4605
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| |||
412 | 413 | | |
413 | 414 | | |
414 | 415 | | |
| 416 | + | |
415 | 417 | | |
416 | 418 | | |
417 | 419 | | |
| |||
0 commit comments