[swift-server-dev] HTTP API v0.1.0

Helge Heß me at helgehess.eu
Tue Nov 7 09:56:43 CST 2017


On 7. Nov 2017, at 16:51, Georgios Moschovitis <george.moschovitis at icloud.com> wrote:
> 
> There is also
> 
> e) writeHeader => writeHead

The current API uses writeHeader for all headers. (writeHead sounds more like the one single response header). Though I agree it is in line with HTTPRequestHead 🤔

(I mean *I am* very much for distinct `writeHead`, `writeContinue` methods, but I think there is no common agreement on this, don’t know. Maybe someone should just do another PR on this)

hh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 874 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.swift.org/pipermail/swift-server-dev/attachments/20171107/d3125b39/attachment.sig>


More information about the swift-server-dev mailing list