mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Removed parentheses #127
This commit is contained in:
parent
29404e34d9
commit
db2368cd0b
1 changed files with 2 additions and 2 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) > 0 {
|
||||
resp.Status = statusParts[1]
|
||||
}
|
||||
|
||||
|
@ -515,4 +515,4 @@ func (c *FCGIClient) PostFile(p map[string]string, data url.Values, file map[str
|
|||
}
|
||||
|
||||
// Checks whether chunked is part of the encodings stack
|
||||
func chunked(te []string) bool { return len(te) > 0 && te[0] == "chunked" }
|
||||
func chunked(te []string) bool { return len(te) > 0 && te[0] == "chunked" }
|
||||
|
|
Loading…
Reference in a new issue