devsnek / snekfetch

fast, efficient, and user-friendly http requests
https://snekfetch.js.org/
MIT License
77 stars 21 forks source link

Request Promise never resolves or rejects. #3

Closed dragonfire535 closed 7 years ago

dragonfire535 commented 7 years ago
const snekfetch = require('snekfetch');
snekfetch
    .post('https://strawpoll.me/api/v2/polls')
    .send({ title: 'Cats', options: ['1', '2'] })
    .then(res => console.log(res.body))
    .catch(console.error);

The console never logs the body, no error is caught. Nothing at all happens 🤔 . Nothing except massive memory rise.

devsnek commented 7 years ago

fixed in f47ae6179addc843c76041a5b0a1013c67759729