<commit_before># Aitch

[![Build Status](https://travis-ci.org/fnando/aitch.png)](https://travis-ci.org/fnando/aitch)

[![CodeClimate](https://codeclimate.com/github/fnando/aitch.png)](https://codeclimate.com/github/fnando/aitch/)

[![RubyGems](https://badge.fury.io/rb/aitch.png)](https://rubygems.org/gems/aitch)

A simple HTTP client.

Features:

* Supports Gzip|Deflate response
* Automatically parses JSON and XML responses
* Automatically follows redirect

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'aitch'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install aitch

## Usage

### Configuration

These are the default settings:<commit_msg>Inline images.<commit_after># Aitch

[![Build Status](https://travis-ci.org/fnando/aitch.png)](https://travis-ci.org/fnando/aitch)
[![CodeClimate](https://codeclimate.com/github/fnando/aitch.png)](https://codeclimate.com/github/fnando/aitch/)
[![RubyGems](https://badge.fury.io/rb/aitch.png)](https://rubygems.org/gems/aitch)

A simple HTTP client.

Features:

* Supports Gzip|Deflate response
* Automatically parses JSON and XML responses
* Automatically follows redirect

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'aitch'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install aitch

## Usage

### Configuration

These are the default settings:
{'fraction_non_alphanumeric': 0.14749470712773466, 'fraction_numerical': 0.0, 'mean_word_length': 4.649402390438247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, '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': '1609607', 'n_tokens_mistral': 502, 'n_tokens_neox': 480, 'n_words': 106}