Public bug reported:

The following query:

import module namespace http = "http://expath.org/ns/http-client";;

variable $response := http:send-request(<http:request method="GET" 
href="http://28msec-cloud9.s3.amazonaws.com/require.js"; />);
 trace(serialize($response[1], ()), "META");
trace($response[2], "BODY");
$response[2]

Returns:
Zorba store error [zerr:ZSTR0055]: streamable string has already been consumed

You can try this example live at http://www.zorba-
xquery.com/html/demo#MqacK3oJ3iigR3SqxRk3Gcn3i8Y=

** Affects: zorba
     Importance: Undecided
     Assignee: Matthias Brantner (matthias-brantner)
         Status: New

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1001598

Title:
  Zorba store error [zerr:ZSTR0055]: streamable string has already been
  consumed

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query:

  import module namespace http = "http://expath.org/ns/http-client";;

  variable $response := http:send-request(<http:request method="GET" 
href="http://28msec-cloud9.s3.amazonaws.com/require.js"; />);
   trace(serialize($response[1], ()), "META");
  trace($response[2], "BODY");
  $response[2]

  Returns:
  Zorba store error [zerr:ZSTR0055]: streamable string has already been consumed

  You can try this example live at http://www.zorba-
  xquery.com/html/demo#MqacK3oJ3iigR3SqxRk3Gcn3i8Y=

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1001598/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to