<commit_before>// This is a simple example of a HTTP server in Gjs using libsoup

const Lang = imports.lang;

const GLib = imports.gi.GLib;
const Soup = imports.gi.Soup

function HTTPServer(args) {
  this._init(args);
}

HTTPServer.prototype = {
    _init : function(args) {
        this._handlers = [];
        this._port = 'port' in args ? args.port : 1080;
        this._server = this._startServer();
    },
<commit_msg>Examples: Add missing semicolon in http-server<commit_after>// This is a simple example of a HTTP server in Gjs using libsoup

const Lang = imports.lang;

const GLib = imports.gi.GLib;
const Soup = imports.gi.Soup;

function HTTPServer(args) {
  this._init(args);
}

HTTPServer.prototype = {
    _init : function(args) {
        this._handlers = [];
        this._port = 'port' in args ? args.port : 1080;
        this._server = this._startServer();
    },

{'fraction_non_alphanumeric': 0.11931818181818182, 'fraction_numerical': 0.00909090909090909, 'mean_word_length': 3.0228310502283104, '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': '4084741', 'n_tokens_mistral': 293, 'n_tokens_neox': 285, 'n_words': 81}