http-request-061 (AB)

Tests p:http-request: XC0127 has to be raised, if two effective headers are case insensive equal.

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

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/echo" method="post" headers="map{'header' : 'value'}">
            <p:with-input>
               <p:inline document-properties="map{'HEADER' : 'value'}"><doc xmlns=""/></p:inline>
            </p:with-input>
         </p:http-request>
      </p:declare-step>
   

Revision history

14 Jan 2020, Achim Berndzen

Added new tests for p:http-request.