mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 13:05:56 +00:00
Fasthttp seems have little bug with headers, so make a VisitAllCookies function and GetFlashes completed- tests added also
This commit is contained in:
5
iris.go
5
iris.go
@@ -284,7 +284,6 @@ func (s *Framework) Go() error {
|
||||
s.Plugins.DoPreListen(s)
|
||||
|
||||
if firstErr := s.Servers.OpenAll(); firstErr != nil {
|
||||
panic("iris:287")
|
||||
return firstErr
|
||||
}
|
||||
|
||||
@@ -822,6 +821,10 @@ func NewTester(api *Framework, t *testing.T) *httpexpect.Expect {
|
||||
}
|
||||
}
|
||||
|
||||
if api.Config.Tester.ExplicitURL {
|
||||
baseURL = ""
|
||||
}
|
||||
|
||||
testConfiguration := httpexpect.Config{
|
||||
BaseURL: baseURL,
|
||||
Client: &http.Client{
|
||||
|
||||
Reference in New Issue
Block a user