Kipras Melnikovas 2b65591b56
fix(browser): return early if response headers empty (#1034)
When performing simple requests, such as

```ts
import { Gitlab } from "@gitbeaker/browser";

const api = new Gitlab({ token, host });

const res = await api.Issues.show(projectId, issueIid);
```

I used to get errors, such as

```console
index.js:11539 RangeError: Invalid array length
...
```

and this fixed it.
2020-08-07 14:22:01 +02:00
..