Skip to content

Add WriteHeader interface to wrapper#2

Open
sarjumulmi wants to merge 2 commits intoturtlemonvh:masterfrom
sarjumulmi:master
Open

Add WriteHeader interface to wrapper#2
sarjumulmi wants to merge 2 commits intoturtlemonvh:masterfrom
sarjumulmi:master

Conversation

@sarjumulmi
Copy link

To obtain response status code in the middleware, this PR adds statusCode field to wrappedResponseWriter & implements WriteHeader(statusCode int) method of http.ResponseWriter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant