aboutsummaryrefslogtreecommitdiff
path: root/state.cpp
diff options
context:
space:
mode:
authorKrombel <krombel@krombel.de>2018-03-20 23:33:42 +0100
committerKrombel <krombel@krombel.de>2018-03-20 23:42:49 +0100
commit4e78035d03817c29ceac46bdf9cb045e4ba3a101 (patch)
treec1e0ffabd6498dfd591f5a901b6a4db8e4f5d7b5 /state.cpp
parent551935c24f66b7db4c6845c8a92cecc980fe3834 (diff)
downloadlibquotient-4e78035d03817c29ceac46bdf9cb045e4ba3a101.tar.gz
libquotient-4e78035d03817c29ceac46bdf9cb045e4ba3a101.zip
ignore possible appendixes from content type
Currently libqmatrixclient fails checking the `Content-Type` header when there is an appendix like "charset". That is allowed e.g. in [rfc7231](https://tools.ietf.org/html/rfc7231#section-3.1.1.5)) One example is a Content-Type `application/json` vs `application/json;charset=UTF-8` Setting of the charset appendis is currently not supported. It fails with libqmatrixclient.jobs: "LoginJob" status 106 : "Incorrect content type of the response" This PR aims to just drop that appendix as it is currently not handled somewhere else.
Diffstat (limited to 'state.cpp')
0 files changed, 0 insertions, 0 deletions