(attributes, options = {})
| 50 | }; |
| 51 | |
| 52 | const createGetAttributesRequest = (attributes, options = {}) => { |
| 53 | const key = options.objectKey || objectName; |
| 54 | return { |
| 55 | bucketName, |
| 56 | namespace, |
| 57 | objectKey: key, |
| 58 | headers: { |
| 59 | 'x-amz-object-attributes': attributes.join(','), |
| 60 | ...options.headers, |
| 61 | }, |
| 62 | url: `/${bucketName}/${key}`, |
| 63 | query: options.query || {}, |
| 64 | actionImplicitDenies: false, |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | describe('objectGetAttributes API', () => { |
| 69 | beforeEach(async () => { |
no outgoing calls
no test coverage detected