http-request-052 (AB)

Tests p:http-request: get with multi-part response, parameter 'accept-multipart' set to false, so error expected.

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

It requires the following features: p:http-request.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:http-request href="http://localhost:8246/service/fixed-multipart" parameters="map{'accept-multipart' : false()}">
      <p:with-input>
         <p:empty/>
      </p:with-input>
   </p:http-request>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

29 Jan 2020, Achim Berndzen

Changed name of key.

13 Jan 2020, Achim Berndzen

Added new tests for p:http-request.