<commit_before>package azureSdkForGo

import (
	"fmt"
	"io"
	"bytes"
	"time"
	"strings"
	"errors"
	"os/exec"
	"encoding/xml"
	"github.com/MSOpenTech/azure-sdk-for-go/core/tls"
	"github.com/MSOpenTech/azure-sdk-for-go/core/http"
)

const (
	azureManagementDnsName = "https://management.core.windows.net"
	msVersionHeader = "x-ms-version"
	msVersionHeaderValue = "2014-05-01"
	contentHeader = "Content-Type"
	contentHeaderValue = "application/xml"
	requestIdHeader = "X-Ms-Request-Id"
)

func SendAzureGetRequest(url string) ([]byte, error){
	response, err := SendAzureRequest(url, "GET", nil)
	if err != nil {
		return nil, err
	}

	responseContent := getResponseBody(response)
	return responseContent, nil
}

func SendAzurePostRequest(url string, data []byte) (string, error){
	response, err := SendAzureRequest(url, "POST", data)
	if err != nil {
		return "", err
	}

	requestId := response.Header[requestIdHeader]
	return requestId[0], nil
}

func SendAzureDeleteRequest(url string) ([]byte, error){
	response, err := SendAzureRequest(url, "DELETE", nil)
	if err != nil {
		return "", err
	}

	requestId := response.Header[requestIdHeader]
	return requestId[0], nil
}<commit_msg>Fixed SendAzureDeleteRequest method<commit_after>package azureSdkForGo

import (
	"fmt"
	"io"
	"bytes"
	"time"
	"strings"
	"errors"
	"os/exec"
	"encoding/xml"
	"github.com/MSOpenTech/azure-sdk-for-go/core/tls"
	"github.com/MSOpenTech/azure-sdk-for-go/core/http"
)

const (
	azureManagementDnsName = "https://management.core.windows.net"
	msVersionHeader = "x-ms-version"
	msVersionHeaderValue = "2014-05-01"
	contentHeader = "Content-Type"
	contentHeaderValue = "application/xml"
	requestIdHeader = "X-Ms-Request-Id"
)

func SendAzureGetRequest(url string) ([]byte, error){
	response, err := SendAzureRequest(url, "GET", nil)
	if err != nil {
		return nil, err
	}

	responseContent := getResponseBody(response)
	return responseContent, nil
}

func SendAzurePostRequest(url string, data []byte) (string, error){
	response, err := SendAzureRequest(url, "POST", data)
	if err != nil {
		return "", err
	}

	requestId := response.Header[requestIdHeader]
	return requestId[0], nil
}

func SendAzureDeleteRequest(url string) (string, error){
	response, err := SendAzureRequest(url, "DELETE", nil)
	if err != nil {
		return "", err
	}

	requestId := response.Header[requestIdHeader]
	return requestId[0], nil
}
{'fraction_non_alphanumeric': 0.14429530201342283, 'fraction_numerical': 0.008389261744966443, 'mean_word_length': 5.007556675062972, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '6358389', 'n_tokens_mistral': 867, 'n_tokens_neox': 839, 'n_words': 180}