fix request methods different from GET and POST
Merge branch 'master' of github.com:studip/studip-rest.ip into studip-2.3