http client charset parsing bug

Bug #1207668 reported by Federico Cavalieri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Critical
Federico Cavalieri

Bug Description

The http client fails to parse requests like this one:

jsoniq version "1.0";
import module namespace http = "http://zorba.io/modules/http-client";
declare namespace err= "http://www.w3.org/2005/xqt-errors";

variable $req2:=
{
  "method": "POST",
  "href": "http://zorbatest.lambda.nu:8080/http-test-data/request.php",
  "headers": {"foo":"bar"},
  "body": {
    "media-type": "multipart/form-data; boundary=----------------------------4ebf00fbcf09",
    "content": "
      Dies ist ein kleiner Test
    "
}};

http:send-request($req2)

An http:CHARSET error is raised

Changed in zorba:
status: New → Fix Committed
Changed in zorba:
status: Fix Committed → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.