修改Partial Content的Bounary值长度(从60字节修改为16字节)

This commit is contained in:
GoEdgeLab
2022-02-25 19:09:09 +08:00
parent 260dcbeeff
commit c6c74523db
3 changed files with 10 additions and 3 deletions

View File

@@ -10,6 +10,13 @@ import (
"time"
)
func TestHTTPRequest_httpRequestGenBoundary(t *testing.T) {
for i := 0; i < 10; i++ {
var boundary = httpRequestGenBoundary()
t.Log(boundary, "[", len(boundary), "bytes", "]")
}
}
func TestHTTPRequest_httpRequestParseContentRange(t *testing.T) {
a := assert.NewAssertion(t)
{