Skip to content

Commit

Permalink
http://groups.google.com/group/golang-dev/browse_thread/thread/e06c9…
Browse files Browse the repository at this point in the history
…4e94d107fc5#

    strings.Bytes() has been deleted.
  • Loading branch information
kevinwatt committed Mar 1, 2010
1 parent 79da1b6 commit 5f727ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpget.go
Expand Up @@ -29,7 +29,7 @@ func send(req *http.Request) (resp *http.Response, err os.Error) {
if len(info) > 0 {
enc := base64.URLEncoding
encoded := make([]byte, enc.EncodedLen(len(info)))
enc.Encode(encoded, strings.Bytes(info))
enc.Encode(encoded, []byte(info))
if req.Header == nil {
req.Header = make(map[string]string)
}
Expand Down

0 comments on commit 5f727ad

Please sign in to comment.