Geert Josten wrote:
Dag Geert!
> Nobody seems to have answered this question yet. I ran your
> code against MarkLogic Server 4.1-3, but everything seems to
> run as expected. Running the code as is, returns the Hello
> message. Calling the bug.xqy directly from a browser
> ('forcing' a GET), returns a 405. Changing one of both
> queries to 'break' the who parameter, triggers the return of
> a 400.
Thanks for taking time to test that! Sorry to have taken so
much time to respond, but I wanted to investigate more on this.
> I have to note though, that I had to use a tcp monitor to
> reveal the response codes. Browsers tend to hide such
> interesting info for us.
Mmh, yes. I thought Firefox was an exception, thanks to the
Web Developer Toolbar extension and its "View Response Headers"
command, but... For what I've seen, the only conclusion I can
see is that this command actually performs a GET request to the
same URI, and displays the headers (glups!)
Hence the status "405 Method not allowed: GET" whatever I
tried...
So that's instead a bug in this tool, sorry for the noise.
Regards,
--
Florent Georges
http://www.fgeorges.org/
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general