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

[go-nuts] Re: [ANN] peanut - write tagged structs to disk, in a variety of formats

2021-04-20 Thread Jim Smart
20, 2021 at 9:49:04 PM UTC+1 Jim Smart wrote: > Hi there fellow Go Nuts and Gophers, > > Whilst working on a project not long back, I created a library to easily > write tagged structs to disk, in a variety of output formats. > > https://github.com/jimsmart/peanut > > Each w

[go-nuts] [ANN] peanut - write tagged structs to disk, in a variety of formats

2021-04-20 Thread Jim Smart
Hi there fellow Go Nuts and Gophers, Whilst working on a project not long back, I created a library to easily write tagged structs to disk, in a variety of output formats. https://github.com/jimsmart/peanut Each writer has a simple Write method, that takes a tagged struct. Each type of struct

[go-nuts] Re: [ANN] grobotstxt - a Go port of Google's robots.txt parser and matcher

2020-04-26 Thread Jim Smart
On Monday, April 27, 2020 at 12:45:47 AM UTC+1, Ben Hoyt wrote: > > This looks really nice! I was looking for something like this recently, > but ended up using https://github.com/temoto/robotstxt. However, > something that's closer to the Google version might well have made me > choose that.

Re: [go-nuts] letsencrypt, localhost and autocert

2017-06-07 Thread Jim Smart
On Tuesday, June 6, 2017 at 6:22:28 PM UTC+1, Axel Wagner wrote: > > tl;dr: You need a) a publicly routed IP address (either IPv4 or IPv6 is > fine), b) a publicly resolvable domain that points to that IP address and > c) actually point your client (browser) to that domain. > > > I've not done