<commit_before>exports.module = function(){
	
	var http	= require( "http" );
	var path	= require( "path" );
	var fs		= require( "fs" );
	var mime	= require( "mime" );

	var self        = this;

	////-----------------------------------------------------------------------------------------
 	//The Constructor
	this.main = function( cb ){
		cb();
	}

	////-----------------------------------------------------------------------------------------
 	//The http-server itself!
	this.httpServer = function(){
		var self = this;
		var server = http.createServer( function (req, res) {
			req.setEncoding("utf8");
			req.content = "";
			req.on( "data", function( content ){
				req.content += content;
			});

			req.on( "end", function(){
				if( req.content ){
					var values = req.content.split('&') ;
					var data = Array();

					for( var valueIndex in values ){
						var pair = values[ valueIndex ].split('=');
						data[ pair[ 0 ] ] = pair[ 1 ];
					}
				}
				var bbRequest = {
							write: bb.core.http.write, 
							writeFile: bb.core.http.writeFile, 
							writeNotFound: bb.core.http.writeNotFound, 
							ready: false, 
							url: req.url,
							method: req.method,
							data: data,
							origin: { 
								req: req, 
								res: res 
							}
						}; 
					self.httpHandler( bbRequest );
			});

		}).listen( self.bb.conf.http.port, self.bb.conf.http.bind );
		// Add Socket-Support
	};

	////-----------------------------------------------------------------------------------------
	//The http-handler
	this.httpHandler = function( req ){//#ToDo outsorce in an core-file
		//#ToDo throw 401 if a .. exists
		var found = false;
		var url		= req.url.split( "/" )[ 1 ] ;<commit_msg>fixed the http-thing, checked it in accidentily<commit_after>exports.module = function(){
	
	var http	= require( "http" );
	var path	= require( "path" );
	var fs		= require( "fs" );
	var mime	= require( "mime" );

	////-----------------------------------------------------------------------------------------
 	//The Constructor
	this.main = function( cb ){
		cb();
	}

	////-----------------------------------------------------------------------------------------
 	//The http-server itself!
	this.httpServer = function(){
		var self = this;
		var server = http.createServer( function (req, res) {
			req.setEncoding("utf8");
			req.content = "";
			req.on( "data", function( content ){
				req.content += content;
			});

			req.on( "end", function(){
				if( req.content ){
					var values = req.content.split('&') ;
					var data = Array();

					for( var valueIndex in values ){
						var pair = values[ valueIndex ].split('=');
						data[ pair[ 0 ] ] = pair[ 1 ];
					}
				}
				var bbRequest = {
							write: bb.core.http.write, 
							writeFile: bb.core.http.writeFile, 
							writeNotFound: bb.core.http.writeNotFound, 
							ready: false, 
							url: req.url,
							method: req.method,
							data: data,
							origin: { 
								req: req, 
								res: res 
							}
						}; 
					bb.core.http.httpHandler( bbRequest );
			});

		}).listen( bb.conf.http.port, bb.conf.http.bind );
		// Add Socket-Support
	};

	////-----------------------------------------------------------------------------------------
	//The http-handler
	this.httpHandler = function( req ){//#ToDo outsorce in an core-file
		//#ToDo throw 401 if a .. exists
		var found = false;
		var url		= req.url.split( "/" )[ 1 ] ;
{'fraction_non_alphanumeric': 0.2972498537156232, 'fraction_numerical': 0.004095962551199532, 'mean_word_length': 1.3466026080988331, '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': '7277851', 'n_tokens_mistral': 1316, 'n_tokens_neox': 998, 'n_words': 255}