It’s not so simple as it seems without library (you need to consume the res stream and listen to errors … and of course clean up the mess) but with request or fetch is pretty simple as in:
request (callback pattern):
request.get('url',
{
headers: {
Authorization:
`Bearer ${new Buffer('my_long_key').toString('base64') }`
}
}, (err, res) => { /* consume the request */ });
fetch (promise):
function check(res) {
if (res.status > 300) {
throw new Error(`My fancy error for ${status}`)
}
return res;
}
function json(res) {
return res.json()
}
fetch('url',
{
headers: {
Authorization:
`Bearer ${new Buffer('my_long_key').toString('base64') }`
}
})
.then(check)
.then(json)
.then((body) => doSomething(body))
.catch((err) => handleError(err))
...;
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
Wee vee Weee! The forum is cleansed
(I hated his posts for the “frands” and the "wee"s not the content)
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
206.127.146.85
lag
I can see it ….
People is running on walls .. we are doomed
(it’s been 2 weeks now … I know the feature patch is a big thing, you have lot of work to do, just keep an eye on server/uplink performance, something is wrong)
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
206.127.159.217, 206.127.159.236
TeamQ, both me from UK and my teammates from Italy lagging.
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
(edited 2014-09-03 21:54:06 by aliem.3412)
It’s so lovely to lose for mass disconnection.
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
206.127.159.250:0
I’ll better get to play another game at this point, at least I won’t die without knowing what happened.
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
and in tight matches (those nice 499-500) the match will last for about 10 minutes
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
Oh nice! I’ll try next time. sigh
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
Hello ArenaNet, could you take a look at this screen shot?
It’s a Solo Arena match.
3 vs 5
(a roma se direbbe Sola Arena [sorry there is no translation to this])
Can we have a “Forfeit” vote button?
This can also happen in Team Arena, happens since it’s used as a solo queue for various reasons.
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
(edited 2014-07-19 17:37:11 by aliem.3412)
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”
“You’re dumb. You’ll die, and you’ll leave a dumb corpse.”