()
| 413 | } |
| 414 | |
| 415 | constructXml() { |
| 416 | const xml = []; |
| 417 | xml.push('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' + |
| 418 | '<Tagging> <TagSet>'); |
| 419 | Object.keys(this._tags).forEach(key => { |
| 420 | const value = this._tags[key]; |
| 421 | xml.push(`<Tag><Key>${key}</Key><Value>${value}</Value></Tag>`); |
| 422 | }); |
| 423 | xml.push('</TagSet> </Tagging>'); |
| 424 | return xml.join(''); |
| 425 | } |
| 426 | |
| 427 | createObjectTaggingRequest(method, bucketName, objectName, body) { |
| 428 | const request = { |
no outgoing calls
no test coverage detected