func ArbitraryRequest(req Request, body io.Reader) (r *Response, err
os.Error) {
req.Body = nopCloser{body}
return send(&req)
}
Is there a better way, or should I submit my modification as a patch?
This is a snippet using it: http://pastie.org/836335
- Mike
I think that Russ and Petarm are planning to build a richer interface
on top of http.ClientConn.
- Mike
P.S I might rewrite http://github.com/hoisie/httplib.go to use
http.ClientConn .
http://groups.google.com/group/golang-nuts/browse_thread/thread/c381b81c291bb527
http://code.google.com/p/go/issues/detail?id=155