aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/needle_parse_test.go
AgeCommit message (Collapse)AuthorFilesLines
2025-05-28Add context with request (#6824)Aleksey Kosov1-2/+3
2024-11-15Fix/parse upload filename (#6241)Kevin Bulteel1-1/+1
* fix: parse filename in PUT + refactor * fix: master iu public url with http * fix: better parsing and handle disposition header * fix: take mime type from file extension if not set
2024-07-16Added tls for http clients (#5766)vadimartynov1-10/+6
* Added global http client * Added Do func for global http client * Changed the code to use the global http client * Fix http client in volume uploader * Fixed pkg name * Fixed http util funcs * Fixed http client for bench_filer_upload * Fixed http client for stress_filer_upload * Fixed http client for filer_server_handlers_proxy * Fixed http client for command_fs_merge_volumes * Fixed http client for command_fs_merge_volumes and command_volume_fsck * Fixed http client for s3api_server * Added init global client for main funcs * Rename global_client to client * Changed: - fixed NewHttpClient; - added CheckIsHttpsClientEnabled func - updated security.toml in scaffold * Reduce the visibility of some functions in the util/http/client pkg * Added the loadSecurityConfig function * Use util.LoadSecurityConfiguration() in NewHttpClient func
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-2/+2
2021-09-06refactoringChris Lu1-2/+20
2021-06-06use bytes.Buffer to reduce memory allocation and gcChris Lu1-1/+1
2020-11-26go fmtChris Lu1-20/+20
2020-11-21remove zstdChris Lu1-0/+2
fix https://github.com/chrislusf/seaweedfs/issues/1629
2020-08-06volume: report Content-MD5 in response headerChris Lu1-1/+1
2020-07-14go fmtChris Lu1-2/+1
2020-07-10fix compilationChris Lu1-1/+1
2020-06-24testing parsing the uploadChris Lu1-0/+130
The mime type is always the value passed in. Compress or not depends on the content detection, file name extension, and compression ratio. If the content is already compressed, need to know the content size.