Commit f11e1360 authored by Slawomir Jasinski's avatar Slawomir Jasinski

Update fcgiclient.go

parent db2368cd
...@@ -380,7 +380,7 @@ func (c *FCGIClient) Request(p map[string]string, req io.Reader) (resp *http.Res ...@@ -380,7 +380,7 @@ func (c *FCGIClient) Request(p map[string]string, req io.Reader) (resp *http.Res
if err != nil { if err != nil {
return return
} }
if len(statusParts) > 0 { if len(statusParts) > 1 {
resp.Status = statusParts[1] resp.Status = statusParts[1]
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment