http client charset parsing bug

Bug #1207668 reported by Federico Cavalieri on 2013-08-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
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  Edit
Everyone can see this information.

Other bug subscribers