mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
fix integration tests
This commit is contained in:
parent
8390f77ecd
commit
b8ec53c52d
2 changed files with 3 additions and 3 deletions
|
@ -83,9 +83,6 @@ func (client *Client) ServeRawContent(uri string) (*fasthttp.Response, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
// fasthttp else will set "Content-Length: 0"
|
||||
res.SetBodyStream(&strings.Reader{}, -1)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue