@@ -812,8 +812,8 @@ provide the HTTP Response corresponding to the sent Request.</h2>
812812<p >Attempts to extract a http-related <a href =" #error " ><code >error</code ></a > from the wasi:io <a href =" #error " ><code >error</code ></a >
813813provided.</p >
814814<p >Stream operations which return
815- <code >wasi: io /stream/ stream-error:: last-operation-failed</code > have a payload of
816- type <code >wasi: io /error/ error</code > with more information about the operation
815+ <code >wasi: io /stream. stream-error. last-operation-failed</code > have a payload of
816+ type <code >wasi: io /error. error</code > with more information about the operation
817817that failed. This payload can be passed through to this function to see
818818if there's http-related information about the error to return.</p >
819819<p >Note that this function is fallible because not all io-errors are
@@ -1236,25 +1236,6 @@ supported.</p>
12361236<ul >
12371237<li ><a id =" method_request_options_set_between_bytes_timeout.0 " ></a > result</li >
12381238</ul >
1239- <h4 ><a id =" method_response_outparam_send_informational " ></a ><code >[method]response-outparam.send-informational: func</code ></h4 >
1240- <p >Send an HTTP 1xx response.</p >
1241- <p >Unlike <code >response-outparam.set</code >, this does not consume the
1242- <a href =" #response_outparam " ><code >response-outparam</code ></a >, allowing the guest to send an arbitrary number of
1243- informational responses before sending the final response using
1244- <code >response-outparam.set</code >.</p >
1245- <p >This will return an <code >HTTP-protocol-error</code > if <code >status</code > is not in the
1246- range [ 100-199] , or an <code >internal-error</code > if the implementation does not
1247- support informational responses.</p >
1248- <h5 >Params</h5 >
1249- <ul >
1250- <li ><a id =" method_response_outparam_send_informational.self " ></a ><code >self</code >: borrow< ; <a href =" #response_outparam " ><a href =" #response_outparam " ><code >response-outparam</code ></a ></a >> ; </li >
1251- <li ><a id =" method_response_outparam_send_informational.status " ></a ><code >status</code >: <code >u16</code ></li >
1252- <li ><a id =" method_response_outparam_send_informational.headers " ></a ><a href =" #headers " ><code >headers</code ></a >: own< ; <a href =" #headers " ><a href =" #headers " ><code >headers</code ></a ></a >> ; </li >
1253- </ul >
1254- <h5 >Return values</h5 >
1255- <ul >
1256- <li ><a id =" method_response_outparam_send_informational.0 " ></a > result< ; _, <a href =" #error_code " ><a href =" #error_code " ><code >error-code</code ></a ></a >> ; </li >
1257- </ul >
12581239<h4 ><a id =" static_response_outparam_set " ></a ><code >[static]response-outparam.set: func</code ></h4 >
12591240<p >Set the value of the <a href =" #response_outparam " ><code >response-outparam</code ></a > to either send a response,
12601241or indicate an error.</p >
0 commit comments