Re: [go-nuts] HTTP client - streaming POST body?

2023-03-23 Thread 'Jim Smart' via golang-nuts
Ok, cool, thanks — that was what I asked in my OP :) > Is this possible at all with the stdlib http.Client? Perhaps with an io.Pipe > as the request body? /J -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and st

Re: [go-nuts] HTTP client - streaming POST body?

2023-03-22 Thread 'Jim Smart' via golang-nuts
The issue here, isn’t that I am uploading a big file — that’s easy. As I said in my initial post: > The use case here is that I'm wishing to send very large UPDATE/INSERT > queries/commands to an HTTP endpoint, and the body content of those > queries/commands is actually generated from a databa

[go-nuts] HTTP client - streaming POST body?

2023-03-06 Thread 'Jim Smart' via golang-nuts
Hi all, I'm looking for an HTTP client that allows my code to write the body content down the pipe while doing a POST. The use case here is that I'm wishing to send very large UPDATE/INSERT queries/commands to an HTTP endpoint, and the body content of those queries/commands is actually generat