* Override this to add your own default headers, for example: * * { * ...super.defaultHeaders(), * Authorization: 'Bearer 123', * }
(opts)
| 69606 | /** |
| 69607 | * Override this to add your own default headers, for example: |
| 69608 | * |
| 69609 | * { |
| 69610 | * ...super.defaultHeaders(), |
| 69611 | * Authorization: 'Bearer 123', |
| 69612 | * } |
| 69613 | */ |
| 69614 | defaultHeaders(opts) { |
| 69615 | return { |
| 69616 | Accept: "application/json", |
| 69617 | "Content-Type": "application/json", |
| 69618 | "User-Agent": this.getUserAgent(), |
| 69619 | ...getPlatformHeaders(), |
no test coverage detected