|
@ -2,7 +2,6 @@ package weed_server |
|
|
|
|
|
|
|
|
import ( |
|
|
import ( |
|
|
"context" |
|
|
"context" |
|
|
"fmt" |
|
|
|
|
|
"io" |
|
|
"io" |
|
|
"net/http" |
|
|
"net/http" |
|
|
"path" |
|
|
"path" |
|
@ -89,8 +88,6 @@ func (fs *FilerServer) doAutoChunk(ctx context.Context, w http.ResponseWriter, r |
|
|
} |
|
|
} |
|
|
contentType := part1.Header.Get("Content-Type") |
|
|
contentType := part1.Header.Get("Content-Type") |
|
|
|
|
|
|
|
|
fmt.Printf("autochunk part header: %+v\n", part1.Header) |
|
|
|
|
|
|
|
|
|
|
|
var fileChunks []*filer_pb.FileChunk |
|
|
var fileChunks []*filer_pb.FileChunk |
|
|
|
|
|
|
|
|
chunkOffset := int64(0) |
|
|
chunkOffset := int64(0) |
|
|