Closed erikdubbelboer closed 8 years ago
I wonder why this used to pass. Maybe in previous Golang versions it didn't default to the get
http method?
I have no idea, I just looked all the way back to 1.1 and as far as I can see it has always been that way: https://github.com/golang/go/blob/release-branch.go1.4/src/net/http/request.go#L60
Hmm, that's strange. CI seems to be failing: https://travis-ci.org/cjoudrey/gluahttp/builds/138550063
Interesting, it seems like this changed in Go 1.6.2. Look at this: https://travis-ci.org/cjoudrey/gluahttp/builds/140332409
Ok so 1.3 and 1.4 don't include the "Get" and 1.5 and higher do. I guess I can add an assert_contains
to fix this for both versions.
The other CI you linked is for another pull request and failes because it doesn't contain this pull request yet.
Should be fixed now.
Cool! 👍 Feel free to merge.
This test used to result in: