Skip to content
Snippets Groups Projects

Fix and clarify redirect HTTP logic

Merged Stan Hu requested to merge sh-fix-redirect-logic into master
All threads resolved!
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -77,6 +77,7 @@ func TestHttpRedirect(t *testing.T) {
if assert.NoError(t, err) {
defer rsp.Body.Close()
assert.Equal(t, http.StatusTemporaryRedirect, rsp.StatusCode)
assert.Equal(t, []string{"https://127.0.0.1:37001/project/"}, rsp.Header["Location"])
}
}
Loading