Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[contents] Fix parsing of incomplete headers
Response headers may contain fields with no values. Example: "Referrer-Policy: " In this case the current implementation of explode() results in an error because there is no content after ": ". Changing the delimiter to ":" and trimming the value manually fixes that issue.
- Loading branch information