http-request-076 (AB)

Tests p:http-request: checks auth map.

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

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" auth="map{'send-authorization' : 89}">
            <p:with-input>
               <p:inline><doc xmlns=""/></p:inline>
            </p:with-input>
         </p:http-request>
         
      </p:declare-step>
   
MorganaXProc passing XML Calabash passing

Revision history

19 Mar 2020, Norman Tovey-Walsh

Corrected key name.

14 Jan 2020, Achim Berndzen

Added new tests for p:http-request.