mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-11-25 03:15:19 +08:00
* OneDrive添加直连上传 * refactor * fix: duplicate root path join --------- Co-authored-by: KirCute <951206789@qq.com>
9 lines
452 B
Go
9 lines
452 B
Go
package model
|
|
|
|
type HttpDirectUploadInfo struct {
|
|
UploadURL string `json:"upload_url"` // The URL to upload the file
|
|
ChunkSize int64 `json:"chunk_size"` // The chunk size for uploading, 0 means no chunking required
|
|
Headers map[string]string `json:"headers,omitempty"` // Optional headers to include in the upload request
|
|
Method string `json:"method,omitempty"` // HTTP method, default is PUT
|
|
}
|