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 0f9946d commit 92829deCopy full SHA for 92829de
src/http/http.ts
@@ -47,7 +47,9 @@ export type RequestBody = undefined | string | FormData | URLSearchParams;
47
* Represents an HTTP request context
48
*/
49
export class RequestContext {
50
- private headers: { [key: string]: string } = {};
+ private headers: { [key: string]: string } = {
51
+ "User-Agent": "pandadoc_node_client/1.1.0",
52
+ };
53
private body: RequestBody = undefined;
54
private url: URLParse;
55
@@ -219,4 +221,4 @@ export function wrapHttpLibrary(promiseHttpLibrary: PromiseHttpLibrary): HttpLib
219
221
return from(promiseHttpLibrary.send(request));
220
222
}
223
-}
224
+}
0 commit comments