p:http-request 116 (AB)

Its a dynamic error, if @content-type is not valid..

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

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
            <p:output port="result"/>
            
            <p:http-request href="file" parameters="map{'override-content-type' : 'surely-not-correct'}">
               <p:with-input>
                  <p:empty/>
               </p:with-input>
            </p:http-request>
          
        </p:declare-step>
   
XML Calabash failing

Revision history

23 Jun 2020, Achim Berndzen

Additional tests for p:http-request.