Permalink
Commits on Apr 13, 2012
  1. Add a clean-docs target to the Makefile

    Loïc Hoguin
    Loïc Hoguin committed Apr 13, 2012
Commits on Apr 12, 2012
  1. Cleanup the .gitignore

    Loïc Hoguin
    Loïc Hoguin committed Apr 12, 2012
  2. Use a separate rebar.config file for running tests

    Loïc Hoguin
    Loïc Hoguin committed Apr 12, 2012
Commits on Apr 6, 2012
  1. Update autobahn suite to use autobahntestsuite

    Magnus Klaar
    Magnus Klaar committed Apr 6, 2012
Commits on Apr 5, 2012
  1. Add support for fragmented websocket messages

    Magnus Klaar
    Magnus Klaar committed Apr 2, 2012
Commits on Apr 1, 2012
  1. Add chunked transfer encoding support and rework the body reading API

    Loïc Hoguin
    Loïc Hoguin committed Mar 28, 2012
    Introduces 3 low level functions and updates the existing higher
    levels functions. The new primitives are has_body/1, body_length/1
    and stream_body/1. In addition to that, a helper function
    init_stream/4 has been added.
    
    Streaming a body implies to decode the Transfer-Encoding and
    Content-Encoding used for the body. By default, Cowboy will try
    to figure out what was used and decode them properly. You can
    override this if you want to disable this behavior or simply
    support more encodings by calling the init_stream/4 function
    before you start streaming the body.
  2. Merge branch 'log-proplist-req'

    Loïc Hoguin
    Loïc Hoguin committed Apr 1, 2012
  3. Convert request to proplist when logging

    Magnus Klaar Loïc Hoguin
    Magnus Klaar authored and Loïc Hoguin committed Mar 31, 2012
Commits on Mar 23, 2012
  1. Merge branch 'patch-1' of https://github.com/si14/cowboy

    Loïc Hoguin
    Loïc Hoguin committed Mar 23, 2012
Commits on Mar 22, 2012
Commits on Mar 21, 2012
Commits on Mar 15, 2012
  1. Don't close requests when the replied body is chunked

    Loïc Hoguin
    Loïc Hoguin committed Mar 15, 2012
  2. Add an 'onrequest' hook for HTTP

    Loïc Hoguin
    Loïc Hoguin committed Mar 15, 2012
    This new protocol option is a fun.
    
    It expects a single arg, the Req, and should only return a possibly
    modified Req. This can be used for many things like URL rewriting,
    access logging or listener-wide authentication.
    
    If a reply is sent inside the hook, then Cowboy will consider the
    request handled and will move on to the next one.
Commits on Mar 13, 2012
  1. Do not send chunked Transfer-Encoding replies for HTTP/1.0

    Loïc Hoguin
    Loïc Hoguin committed Mar 13, 2012
    Fixes compatibility issue #140 reported by @majek.
  2. Merge branch 'content-type-accepted-asterisk-atom' of https://github.…

    Loïc Hoguin
    Loïc Hoguin committed Mar 12, 2012
    …com/dysinger/cowboy
    
    Added a comment explaining the '*' always matching.
Commits on Mar 12, 2012
  1. Rename inet:ip_port() to inet:port_number()

    Loïc Hoguin
    Loïc Hoguin committed Mar 12, 2012
    Thanks go to @superbobry for pointing it out.
Commits on Mar 9, 2012
  1. Fix issue #157 relating to daylight savings time.

    Magnus Klaar
    Magnus Klaar committed Mar 9, 2012
  2. Make media type parsing more relaxed

    asabil committed Mar 9, 2012
    Certain user agents send slightly invalid media types, like the
    following: "text/html, image/gif, image/jpeg, ; q=.2, */; q=.2"
    
    The user agent with which this behavior was observed presented itself
    with the User-Agent string: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X
    10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (FlipboardProxy/0.0.5;
    +http://flipboard.com/browserproxy)"
Commits on Mar 8, 2012
Commits on Mar 2, 2012
Commits on Feb 29, 2012
  1. Tests and fixes for the generate_etag/2 callback

    Magnus Klaar
    Magnus Klaar committed Feb 28, 2012
    The return value from the generate_etag/2 callback is expected to be a
    binary tagged with either weak or strong. This binary is quoted, and
    may be prefixed with W/ before it is set as the value of the ETag header
    in the response.
    
    For backwards compatibility with older handlers where the return value
    was expected to be a quoted binary a function has been added to parse any
    return values that are untagged binaries. All untagged binaries are expected
    to be a valid value for the ETag header.
Commits on Feb 27, 2012
  1. Add a roadmap

    Loïc Hoguin
    Loïc Hoguin committed Feb 27, 2012
  2. Remove the redundant include/ from -include("http.hrl")

    Loïc Hoguin
    Loïc Hoguin committed Feb 27, 2012
  3. Remove a completed @todo comment

    Loïc Hoguin
    Loïc Hoguin committed Feb 27, 2012
Commits on Feb 24, 2012
  1. Merge pull request #146 from ostinelli/f3de0869801d3909cc5a5d5dbee819…

    essen committed Feb 24, 2012
    …41481a0c2e
    
    Polish dialyzer warnings on supervisor init/1
  2. Add an empty ebin/ folder to fix a rebar/edoc issue

    Loïc Hoguin
    Loïc Hoguin committed Feb 24, 2012
    When missing rebar couldn't build docs because it expects the ebin/
    folder to exist before it runs edoc. This commit allows users to
    build docs without first having to run make.
Commits on Feb 23, 2012
  1. Add cowboy_http:x_www_form_urlencoded/2

    Loïc Hoguin
    Loïc Hoguin committed Feb 23, 2012
    This was initially an internal function, it has been made public
    due to popular demand as it can sometimes be needed.