Closed vzickner closed 8 years ago
Hi @valentinz . The expected current functionality is that at least an empty header function is always returned (and not undefined). Could you elaborate a bit more into the scenario were you are getting empty headers?
Some applications (for example satellizer) expect that headers is an object, unfortunately in httpMock it is undefined. This pull request changes the default value of headers to an empty object.