forked from DebaucheryLibrarian/traxxx
19 lines
340 B
JavaScript
19 lines
340 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const bhttp = require('bhttp');
|
||
|
|
||
|
async function init() {
|
||
|
const res = await bhttp.head('https://www.kink.com/consent', {
|
||
|
headers: {
|
||
|
Host: 'www.kink.com',
|
||
|
'User-Agent': 'HTTPie/2.6.0',
|
||
|
Accept: '*/*',
|
||
|
Connection: 'keep-alive',
|
||
|
},
|
||
|
});
|
||
|
|
||
|
console.log(res.body.toString(), res.headers, res.statusCode);
|
||
|
}
|
||
|
|
||
|
init();
|