net/http/httptest: Better document usage of ResponseRecorder.HeaderMap vs. ResponseRecorder.Result #16717
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
The Go 1.7 release notes say:
However, the documentation itself doesn't give much guidance. The closest it says is
If I were just reading the httptest docs, I would probably just use HeaderMap as it's more convenient. It would be good to put a caveat by the definition of HeaderMap.
The text was updated successfully, but these errors were encountered: