http-request-053 (AB)

Tests p:http-request: get with multi-part response, parameter 'multipart' set to false, so error expected. (Settigs for 'status-only' doesn't matter here.)

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

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-multipart" parameters="map{'multipart' : false(),                                          'status-only' : true()}">
            <p:with-input><p:empty/></p:with-input>
         </p:http-request>
         
      </p:declare-step>
   

Revision history

13 Jan 2020, Achim Berndzen

Added new tests for p:http-request.