Sha256: 5c10e0b04ec2cd43aef64b827c5f60192ed5a43a485f2ef5357e2e95dee15baf

Contents?: true

Size: 1.36 KB

Versions: 8

Compression:

Stored size: 1.36 KB

Contents

HTTP Parser
===========

This is a parser for HTTP written in Java, based quite heavily on
the Ryan Dahl's C Version: `http-parser` available here:

  http://github.com/ry/http-parser

It parses both requests and responses. The parser is designed to be used
in performance HTTP applications. 

Features:

  * No dependencies (probably won't be able to keep it up)
  * Handles persistent streams (keep-alive).
  * Decodes chunked encoding.
  * Upgrade support

The parser extracts the following information from HTTP messages:

  * Header fields and values
  * Content-Length
  * Request method
  * Response status code
  * Transfer-Encoding
  * HTTP version
  * Request path, query string, fragment
  * Message body

Building
--------

use `ant compile|test|jar`

Usage
-----

  TODO: in the present form, usage of the Java version of the parser
  shouldn't be too difficult to figure out for someone familiar with the
  C version.

  More documentation will follow shortly, in case you're looking for an
  easy to use http library, this lib is probably not what you are
  looking for anyway ...

  All text after this paragraph (and most of the text above it) are from
  the original C version of the README and are currently only here for
  reference. In case you encounter any difficulties, find bugs, need
  help or have suggestions, feel free to contact me at
  (tim.becker@kuriositaet.de).

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
http_parser.rb-0.5.3 ext/ruby_http_parser/vendor/http-parser-java/README.md
http_parser.rb-0.5.3-x86-mswin32-60 ext/ruby_http_parser/vendor/http-parser-java/README.md
http_parser.rb-0.5.3-x86-mingw32 ext/ruby_http_parser/vendor/http-parser-java/README.md
http_parser.rb-0.5.3-java ext/ruby_http_parser/vendor/http-parser-java/README.md
http_parser.rb-0.5.2-x86-mswin32-60 ext/ruby_http_parser/vendor/http-parser-java/README.md
http_parser.rb-0.5.2-x86-mingw32 ext/ruby_http_parser/vendor/http-parser-java/README.md
http_parser.rb-0.5.2 ext/ruby_http_parser/vendor/http-parser-java/README.md
http_parser.rb-0.5.2-java ext/ruby_http_parser/vendor/http-parser-java/README.md