mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
* fix(s3): accept region-qualified virtual-host form bucket.s3.<region>.<host> AWS SDKs may send Host: bucket.s3.<region>.<host> for virtual-hosted style requests. Recognize this form against both the configured base hostname and the localhost fallback so the bucket is extracted correctly. Closes #977 * test(s3): add integration coverage for region-qualified virtual-host Exercise Host: <bucket>.s3.<region>.localhost end-to-end: HEAD returns 404 for a missing bucket, PUT creates it, HEAD then returns 200, and PUT/GET on an object roundtrips.