Access response writer #6
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
go/web#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
How to access response writer or do I need to set manually at lower level?
Is this correct approach?
I suppose you could do that but I think it's better to clear the body first with
SetBody(nil):Or shorter:
thanks mate, wasn't sure if I missing something as went through the code and test cases.