You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
run following program
package main
import(
"net/http"
"os"
"fmt"
)
func main(){
resp,err := http.Get("http://www.google.com/1/";)
if (err!=nil){
fmt.Println(err)
return
}
w:=os.Stdout
resp.Write(w)
}
What is the expected output?
HTTP/1.0 404 Not Found
Connection: close
Content-Length: 933
....
What do you see instead?
HTTP/1.0 404 404 Not Found
Connection: close
Content-Length: 933
Which compiler are you using (5g, 6g, 8g, gccgo)?
go run
Which operating system are you using?
ubuntu 12.04 x386
Which version are you using? (run 'go version')
go version go1.0.1
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
by bronze1man:
The text was updated successfully, but these errors were encountered: