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:
parent
db2368cd0b
commit
f11e136068
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue