Open tehmoon opened 5 years ago
After the #30 rewrite, it could be good to add ways to read from http wire format instead of just the body.
http-server
--wire
read
http-req
http
It is easily possible I think with https://godoc.org/net/http#Request.Write and https://godoc.org/net/http#ReadRequest
After the #30 rewrite, it could be good to add ways to read from http wire format instead of just the body.
http-server
, add a--wire
flag that will send everything to the out channelinread
, add ahttp-req
scheme that will read from http wire format and create the requesthttp
, add a--wire
flag that will read requests from the in channel and execute itIt is easily possible I think with https://godoc.org/net/http#Request.Write and https://godoc.org/net/http#ReadRequest