mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
commit
6b27d4ce11
1 changed files with 4 additions and 1 deletions
|
@ -380,7 +380,10 @@ func (c *FCGIClient) Request(p map[string]string, req io.Reader) (resp *http.Res
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
resp.Status = statusParts[1]
|
if len(statusParts) > 1 {
|
||||||
|
resp.Status = statusParts[1]
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
resp.StatusCode = http.StatusOK
|
resp.StatusCode = http.StatusOK
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue