On Fri, Sep 16, 2011 at 5:51 PM, Stephan Beal <sgb...@googlemail.com> wrote:

> the problem is that f is an alias for ~/bin/fossil, which isn't the binary
> i want to test. When i use ./fossil ... it works as expected. i'm fixing the
> /pathprefix problem right now - the current code won't dispatch properly
> with that (and i'm not 100% certain it will after my fix!).
>
> In any case, the headers are being output as part of the body (again) and
> that's a bug.
>

The problem is that server mode isn't identical to CGI mode (i thought it
was), and thus JSON mode is misbehaving (halfway thinking it's in CLI mode).
e.g. server mode doesn't have the PATH_INFO env var, which the JSON bits
currently use to dispatch to the proper place. i'll need to replace those
bits with fossil's way of handling the path.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to