cryptocli icon indicating copy to clipboard operation
cryptocli copied to clipboard

HTTP wire format

Open tehmoon opened this issue 5 years ago • 0 comments

After the #30 rewrite, it could be good to add ways to read from http wire format instead of just the body.

  • in http-server, add a --wire flag that will send everything to the out channel
  • ~~in read, add a http-req scheme that will read from http wire format and create the request~~
  • in http, add a --wire flag that will read requests from the in channel and execute it

It is easily possible I think with https://godoc.org/net/http#Request.Write and https://godoc.org/net/http#ReadRequest

tehmoon avatar Oct 13 '19 13:10 tehmoon