(bucketName)
| 33 | }; |
| 34 | |
| 35 | function getRateLimitDeleteRequest(bucketName) { |
| 36 | return { |
| 37 | bucketName, |
| 38 | headers: { |
| 39 | host: `${bucketName}.s3.amazonaws.com`, |
| 40 | origin: 'http://example.com', |
| 41 | }, |
| 42 | url: '/?rate-limit', |
| 43 | method: 'DELETE', |
| 44 | actionImplicitDenies: false, |
| 45 | }; |
| 46 | } |
| 47 | |
| 48 | function getRateLimitPutRequest(bucketName, configJson) { |
| 49 | return { |
no outgoing calls
no test coverage detected