<commit_before>package models

type HTTPAuth struct {
	Username string `json:"username" bson:"username"`
	Password string `json:"password" bson:"password"`
}<commit_msg>Do not return http auth parameters in JSON if they are empty<commit_after>package models

// HTTPAuth is used for HTTP Basic Auth.
type HTTPAuth struct {
	Username string `json:"username,omitempty" bson:"username,omitempty"`
	Password string `json:"password,omitempty" bson:"password,omitempty"`
}
{'fraction_non_alphanumeric': 0.10515021459227468, 'fraction_numerical': 0.0, 'mean_word_length': 7.192982456140351, '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': '4395843', 'n_tokens_mistral': 125, 'n_tokens_neox': 129, 'n_words': 44}