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

This commit is contained in:
刘祥超
2022-02-25 19:09:09 +08:00
parent 9fda8c425a
commit 4d79ce7659
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)
{