Once again the fact that in golang you can't read a http.Request.Body multiple times, really stinks.

· Web · 2 · 0 · 1

@cj you must store it and guard it like the precious, precious resource that it is...

@cj I have more than one chunk of code that immediately copies r.Body into bytes.Buffer.
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!