func GetHeadersFromContext(ctx context.Context) (http.Header, bool) {
	if val := ctx.Value(contextHeadersKey{}); val != nil {
		values, ok := val.(http.Header)
		return values, ok
	}
	return nil, false
}
GetHeadersFromContext returns http.Header from context.
package middleware
import (
	"context"
	"net/http"
)
type contextHeadersKey struct{}