Function
createLoggingRequest
(bucketName, post, headers = {})
Source from the content-addressed store, hash-verified
| 32 | }; |
| 33 | |
| 34 | function createLoggingRequest(bucketName, post, headers = {}) { |
| 35 | return { |
| 36 | bucketName, |
| 37 | namespace, |
| 38 | headers: { |
| 39 | host: `${bucketName}.s3.amazonaws.com`, |
| 40 | ...headers, |
| 41 | }, |
| 42 | url: '/?logging', |
| 43 | query: { logging: '' }, |
| 44 | post, |
| 45 | actionImplicitDenies: false, |
| 46 | }; |
| 47 | } |
| 48 | |
| 49 | function createGetLoggingRequest(bucketName, headers = {}) { |
| 50 | return { |
Tested by
no test coverage detected