REST service problems - 401-Header sent

Saturday, 30 June 2012 · 2 messages · last reply 2 Jul 2012
ME
MyNew EMail30 Jun 2012 20:32 #
Hi, I am using the REST service of BaseX. I'm using POST with the following body to send requests (XPath/XQuery): <query xmlns="http://basex.org/rest"> <text><![CDATA[ (//city/name)[position() <= 5] ]]></text></query> (it's the example from the documentation) Most of the time it works well, but when the XQuery request is to long I get a 401 status code (not authenticated) while I am authenticated. Is there any solution for this problem? Thanks @all
CG
Christian Grün2 Jul 2012 03:14 #
Hi "MyNew EMail" ;) sorry as well for letting you wait.
Quoted text · MyNew EMail · 3 lines
> [...] > Most of the time it works well, but when the XQuery request is to long I get > a 401 status code (not authenticated) while I am authenticated.
What do you exactly mean with "long XQuery request"? Could you provide us with an example that demonstrates the problem (I didn't manage to track it down locally)? Thanks, Christian

⚡Generated with XQuery