<div dir="ltr">From what I&#39;ve seen. My proposal is very similar to the one Chris posted. The main difference is concerning the HTTP body. My proposal is far simpler and easier to integrate with existing frameworks. <div><br></div><div>Here&#39;s a link to the synchronous version:</div><div><br></div><div><a href="https://github.com/paulofaria/http-api-proposal/blob/master/Sources/HTTP.swift#L993-L1001">https://github.com/paulofaria/http-api-proposal/blob/master/Sources/HTTP.swift#L993-L1001</a><br></div><div><br></div><div>And here&#39;s a link to the asynchronous version:</div><div><br></div><div><a href="https://github.com/paulofaria/http-api-proposal/blob/master/Sources/HTTP.swift#L1126-L1134">https://github.com/paulofaria/http-api-proposal/blob/master/Sources/HTTP.swift#L1126-L1134</a><br></div><div><br></div><div>The only issue with this approach is the trailing headers. But I&#39;m not sure support for it is implemented in the code Chris linked. I&#39;ll add support for it this weekend.</div></div>