Skip to content

Commit

Permalink
Merge pull request #626 from ndw/editorial
Browse files Browse the repository at this point in the history
Move an implementation note out of the summary
  • Loading branch information
ndw authored Sep 11, 2024
2 parents 4860ee0 + a1706ad commit 25f28bc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions steps/src/main/xml/steps/http-request.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
with resources over HTTP or related protocols. Implementations
<rfc2119>must</rfc2119> support the <literal>http</literal> and
<literal>https</literal> protocols.
(Implementors are encouraged to support as many protocols as
practical. In particular, pipeline authors may attempt to use
<tag>p:http-request</tag> to load documents with computed URIs using
the <literal>file:</literal> scheme.)</para>
</para>

<p:declare-step type="p:http-request">
<p:input port="source" content-types="any" sequence="true"/>
Expand All @@ -28,11 +25,14 @@ the <literal>file:</literal> scheme.)</para>
<p:option name="assert" as="xs:string" select="'.?status-code lt 400'" />
</p:declare-step>

<para>The <tag>p:http-request</tag> step performs the HTTP request
specified by the <option>method</option> option against the URI specified in
the <option>href</option> option. In simple cases, for example, a GET
request on an unauthenticated URI, nothing else is necessary to form a
complete request.</para>
<para>The <tag>p:http-request</tag> step performs the HTTP request specified by
the <option>method</option> option against the URI specified in the
<option>href</option> option. In simple cases, for example, a GET request on an
unauthenticated URI, nothing else is necessary to form a complete request.
(Implementors are encouraged to support as many protocols as practical. In
particular, pipeline authors may attempt to use <tag>p:http-request</tag> to
load documents with computed URIs using the <literal>file:</literal> scheme.)
</para>

<para>If the method, for example, POST, supports a body, the request
body is constructed using the document(s) appearing on the
Expand Down

0 comments on commit 25f28bc

Please sign in to comment.