Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's odd to compare the length with 0. In the original code, I need to do this to add a custom header: let custom_header = {}; let server = new Server('https://url_to_server', {headers: custom_header}); custom_header['MyHeader'] = 'Some header content'; Shouldn't it check for non-zero to add the custom header?
- Loading branch information