0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

Update fcgiclient.go

This commit is contained in:
Slawomir Jasinski 2015-06-18 09:12:35 +10:00
parent db2368cd0b
commit f11e136068

View file

@ -380,7 +380,7 @@ func (c *FCGIClient) Request(p map[string]string, req io.Reader) (resp *http.Res
if err != nil {
return
}
if len(statusParts) > 0 {
if len(statusParts) > 1 {
resp.Status = statusParts[1]
}