<?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite"
        xmlns:p="http://www.w3.org/ns/xproc"
        xmlns:c="http://www.w3.org/ns/xproc-step"
        xmlns:err="http://www.w3.org/ns/xproc-error">

<t:title>Test http-request #008</t:title>

<t:pipeline>
<p:declare-step version='1.0' name="main">
  <p:output port="result"/>
  <p:http-request>
    <p:input port="source">
      <p:inline>
	<c:request method="get" href="http://tests.xproc.org/docs/basic-auth/"
			status-only="true" detailed="true"/>
      </p:inline>
    </p:input>
  </p:http-request>

  <p:delete match="c:header"/>

</p:declare-step>
</t:pipeline>

<t:output port='result'>
<c:response status="401"/>
</t:output>

</t:test>

