zendframework / zend-http

Http component from Zend Framework
BSD 3-Clause "New" or "Revised" License
134 stars 85 forks source link

Hotfix: default value for headers is string not null #204

Closed michalbundyra closed 4 years ago

michalbundyra commented 4 years ago

As per specification default value for headers should be string, not null. In many cases it was invalid as we return null instead.

Also, when creating new instance with empty string, again - null was returned instead.

Fixes #202