[X2Go-Dev] Bug#126: x2gobroker only works in debug-mode

Anders Bruun Olsen abo at dsl.dk
Fri Mar 1 10:30:11 CET 2013


2013/2/28 Moritz Struebe <Moritz.Struebe at informatik.uni-erlangen.de>

> > Without X2GOBROKER_DEBUG mode (=0) the GET request is disable and
> > result in 404 Not Found. X2Go Client however, will just work fine, as
> > it issues a POST request.
> What is the rationale for this. While I don't work with the broker this
> seems odd.
>

It could be related to REST. A POST request is usually what is used for
giving input to a REST service. It means that caches do the right thing
with the request, if one happens to be in between the service and the
client. But it might be nice to have a comment in
/etc/default/x2gobroker-daemon warning that enabling debug will enable GET
requests to make using a browser for testing possible. Also we need
documentation specifying that only POST requests are normally honored, but
documentation probably should wait until the product is closer to being
finished :)

-- 
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20130301/7a780552/attachment.html>


More information about the x2go-dev mailing list