<commit_before>/*Package httpmw provides middlewares that are automatically
used by the generated code.*/
package httpmw

import (
	"net/http"

	"github.com/utrack/clay/transport/httptransport"

	"google.golang.org/grpc"
	"google.golang.org/grpc/metadata"
)

// DefaultChain is a chain that gets applied to the generated handlers.
func DefaultChain(next http.HandlerFunc) http.HandlerFunc {
	return InjectTransportStream(
		HeadersToGRPCMD(<commit_msg>fixed httpransport import<commit_after>/*Package httpmw provides middlewares that are automatically
used by the generated code.*/
package httpmw

import (
	"net/http"

	"github.com/utrack/clay/v2/transport/httptransport"

	"google.golang.org/grpc"
	"google.golang.org/grpc/metadata"
)

// DefaultChain is a chain that gets applied to the generated handlers.
func DefaultChain(next http.HandlerFunc) http.HandlerFunc {
	return InjectTransportStream(
		HeadersToGRPCMD(
{'fraction_non_alphanumeric': 0.09031556039173014, 'fraction_numerical': 0.001088139281828074, 'mean_word_length': 5.216216216216216, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1997239', 'n_tokens_mistral': 299, 'n_tokens_neox': 287, 'n_words': 75}