Skip to content

Commit cee06fa

Browse files
removed header reporting
1 parent 98a39e5 commit cee06fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export class Request extends RequestUtil {
167167
const prot = protocol[options.protocol];
168168
return new Promise((resolve:(out:Response)=>void, reject:(e:any)=>void) => {
169169
let data = '';
170-
this.log.info(()=>`requesting ${options.url} with headers\n${this.log.inspect(options.headers)}`);
170+
this.log.debug(()=>`requesting ${options.url}`);
171171
const req = prot.request(options, (res:any) => {
172172
res.txt = Request.isTextualContent(res.headers['content-type'])
173173
res.setEncoding(res.txt?'utf8':'binary'); // returns data as Buffer if not set

0 commit comments

Comments
 (0)