<commit_before>HPACK [![Build Status](https://travis-ci.org/twitter/hpack.png?branch=master)](https://travis-ci.org/twitter/hpack)
=====

[Header Compression for HTTP/2](http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-07)

## Download

HPACK can be downloaded from the Maven central repository. Add the following dependency section to your pom.xml file:

```xml
<dependency>
    <groupId>com.twitter</groupId>
    <artifactId>hpack</artifactId>
    <version>0.7.0</version>
</dependency>
```

## Getting Started

This library provides support for compression of header sets into header blocks. The following code fragment demonstrates the use of Encoder and Decoder:

    try {
      int maxHeaderSize = 4096;
      int maxHeaderTableSize = 4096;
      byte[] name = "name".getBytes();
      byte[] value = "value".getBytes();<commit_msg>Update download section of README to v0.7.1<commit_after>HPACK [![Build Status](https://travis-ci.org/twitter/hpack.png?branch=master)](https://travis-ci.org/twitter/hpack)
=====

[Header Compression for HTTP/2](http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-07)

## Download

HPACK can be downloaded from the Maven central repository. Add the following dependency section to your pom.xml file:

```xml
<dependency>
    <groupId>com.twitter</groupId>
    <artifactId>hpack</artifactId>
    <version>0.7.1</version>
</dependency>
```

## Getting Started

This library provides support for compression of header sets into header blocks. The following code fragment demonstrates the use of Encoder and Decoder:

    try {
      int maxHeaderSize = 4096;
      int maxHeaderTableSize = 4096;
      byte[] name = "name".getBytes();
      byte[] value = "value".getBytes();
{'fraction_non_alphanumeric': 0.12988505747126436, 'fraction_numerical': 0.017816091954022988, 'mean_word_length': 4.228228228228228, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1904385', 'n_tokens_mistral': 557, 'n_tokens_neox': 516, 'n_words': 145}