We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9050a1 commit 0befe1bCopy full SHA for 0befe1b
templates/deno/src/client.ts.twig
@@ -12,7 +12,7 @@ export class Client {
12
headers: Payload = {
13
'content-type': '',
14
'x-sdk-version': '{{spec.title | caseDash}}:{{ language.name | caseLower }}:{{ sdk.version }}',
15
- 'User-Agent' : '{{spec.title | caseUcfirst}}Deno/{{ sdk.version }} (${os.type()} ${os.version()}; ${os.arch()})',
+ 'user-agent' : '{{spec.title | caseUcfirst}}{{ language.name | caseUcfirst }}SDK/{{ sdk.version }} (${Deno.build.os}; ${Deno.build.arch})',
16
{% for key,header in spec.global.defaultHeaders %}
17
'{{key}}':'{{header}}',
18
{% endfor %}
0 commit comments