http-request-110 (AB)

Tests p:http-request: Error needs to be raised if transfer-encoding is not supported.

Test ab-http-request-110.xml is expected to fail with error code err:XC0131.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         
         <p:http-request href="http://tests.xproc.org/service/fixed-xml" headers="map{'transfer-encoding' : 'not-supported'}">
            <p:with-input>
               <p:empty/>
            </p:with-input>
         </p:http-request>
      </p:declare-step>
   
MorganaXProc passing

Revision history

02 Feb 2020, Achim Berndzen

Added new tests for p:http-request.