<commit_before>#!/usr/bin/python

import httplib

# Configure the proxy
proxy_host = "10.13.11.4";
proxy_port = 8080;
h = httplib.HTTPConnection(proxy_host, proxy_port);

# Issue the 'GET' request
h.request('GET', 'www.google.co.uk');
r = h.getresponse();

# Parse the headers information
rh = r.getheaders();
print 'Headers:';
idx=0;
for i in rh:
    print idx, ") ", i[0], ':', i[1];
    idx += 1;
print '\n';

# Get the retrieved content
rr = r.read()
print 'Content:'
print rr
print '\n'

h.close()
<commit_msg>Corrected protocol for the request<commit_after>#!/usr/bin/python

import httplib

# Configure the proxy
proxy_host = "10.13.11.4";
proxy_port = 8080;
h = httplib.HTTPConnection(proxy_host, proxy_port);

# Issue the 'GET' request
h.request('GET', 'https://www.google.co.uk');
r = h.getresponse();

# Parse the headers information
rh = r.getheaders();
print 'Headers:';
idx=0;
for i in rh:
    print idx, ") ", i[0], ':', i[1];
    idx += 1;
print '\n';

# Get the retrieved content
rr = r.read()
print 'Content:'
print rr
print '\n'

h.close()

{'fraction_non_alphanumeric': 0.17847025495750707, 'fraction_numerical': 0.028328611898016998, 'mean_word_length': 4.120772946859903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '1297790', 'n_tokens_mistral': 421, 'n_tokens_neox': 399, 'n_words': 114}