<commit_before><?php
/**
 * The class that outputs stuff to the browser.
 * 
 * The Response object can take either a plain HTML body, or mash a context
 * together with a template. As in Django, a context includes all variables
 * a view wants to pass on to a template. The template is defined relative to
 * the user's template path.
 * 
 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License v2.0
 * @author <NAME>
 * 
 */
class Response {
	public $header;
	private $body = null;
	private $template = '';
	private $context = array();
	private $private = false;
	private $isRedirected = false;
	
	/**
	 * Construct
	 * 
	 * Faux overloading of the constructor. If the first argument is a string,
	 * it is treated as the document body. If the first argument is an array,
	 * it is treated as a template context. The second argument is always
	 * treated as a template name, but ignored if the first argument is a string.<commit_msg>Removed another reference to Django<commit_after><?php
/**
 * The class that outputs stuff to the browser.
 * 
 * The Response object can take either a plain HTML body, or mash a context
 * together with a template. A context includes all variables a view wants to
 * pass on to a template. The template is defined relative to the user's
 * template path.
 * 
 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License v2.0
 * @author <NAME>
 * 
 */
class Response {
	public $header;
	private $body = null;
	private $template = '';
	private $context = array();
	private $private = false;
	private $isRedirected = false;
	
	/**
	 * Construct
	 * 
	 * Faux overloading of the constructor. If the first argument is a string,
	 * it is treated as the document body. If the first argument is an array,
	 * it is treated as a template context. The second argument is always
	 * treated as a template name, but ignored if the first argument is a string.
{'fraction_non_alphanumeric': 0.08237145855194124, 'fraction_numerical': 0.004197271773347324, 'mean_word_length': 3.455607476635514, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1042590', 'n_tokens_mistral': 529, 'n_tokens_neox': 500, 'n_words': 264}