<commit_before>//
//  URLRequest+HTTPHeader.swift
//  TinyCore
//
//  Created by <NAME> on 2019/1/26.
//  Copyright © 2019 TinyWorld. All rights reserved.
//

// MARK: - HTTPHeader

extension URLRequest {
    
    public mutating func setHTTPHeaders(
        _ headers: [HTTPHeader: String]
    ) {
        
        for header in headers {
            
            setValue(
                header.key.rawValue,
                forHTTPHeaderField: header.value
            )
            
        }
        
    }
    
}
<commit_msg>fix field and value in wrong order.<commit_after>//
//  URLRequest+HTTPHeader.swift
//  TinyCore
//
//  Created by <NAME> on 2019/1/26.
//  Copyright © 2019 TinyWorld. All rights reserved.
//

// MARK: - HTTPHeader

extension URLRequest {
    
    public mutating func setHTTPHeaders(
        _ headers: [HTTPHeader: String]
    ) {
        
        for header in headers {
            
            setValue(
                header.value,
                forHTTPHeaderField: header.key.rawValue
            )
            
        }
        
    }
    
}

{'fraction_non_alphanumeric': 0.09300184162062615, 'fraction_numerical': 0.020257826887661142, 'mean_word_length': 1.332618025751073, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1445094', 'n_tokens_mistral': 337, 'n_tokens_neox': 308, 'n_words': 74}