golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
123.89k stars 17.65k forks source link

proposal: net/http/httputil/v2: split into focused subpackages #20758

Open bcmills opened 7 years ago

bcmills commented 7 years ago

This proposal builds on https://github.com/golang/go/issues/7907 (remove deprecated stuff) and https://github.com/golang/go/issues/19660 (refactor ioutil to provide a coherent abstraction).

httputil currently contains:

(@bradfitz)

bradfitz commented 7 years ago

Is it open season on filing bugs about everything that's wrong in the standard library?

bcmills commented 7 years ago

Yep. :)

Just want to make sure we don't miss anything. (It's like grocery shopping: if I don't make a list I'll forget all the important stuff.)

ianlancetaylor commented 6 years ago

Should this be handled as part of #5465?

bcmills commented 6 years ago

I think the concrete suggestions here are mostly orthogonal to net/http proper.

It is clearly related, though: if the corresponding interfaces change, then that certainly impacts the utilities that hook into and/or implement those interfaces.