Strange behaviour concerning a POST method that needed to be GET.

In the api.py file for report, there are two classes that have POST methods which in fact should have been GET. ReportRSTCompileView and ReportRSTCompileAnonView. The definitions are here:

https://gitlab.idiap.ch/beat/beat.web/blob/master/beat/web/reports/api.py

Both of the mentioned classes are using another method compileTextItem defined in models.py. This function is not readable and it raises an exception error "Error in ReportRSTCompileView: The Python docutils library isn't installed." which does not seem to belong here. The definition is here:

https://gitlab.idiap.ch/beat/beat.web/blob/master/beat/web/reports/models.py

Edited by Zohreh MOSTAANI