http-request-109 (AB)

Tests p:http-request: Error needs to be raised if value of header content-type is not correct.

Test ab-http-request-109.xml is expected to fail with error code err:XD0079 [XProc, Core steps].

The pipeline

      <p:declare-step xmlns:p="" version="3.0">
         <p:output port="result"/>
         <p:http-request href="http://localhost:8246/service/fixed-xml" headers="map{'content-type' : 'surely-not-correct'}">
MorganaXProc passing XML Calabash failing

Revision history

09 Apr 2020, Achim Berndzen

Changed error code.

02 Feb 2020, Achim Berndzen

Added new tests for p:http-request.