Skip to content
This repository

Dec 17, 2011

  1. Bob Ippolito

    fix edoc warnings

    authored
  2. Bob Ippolito

    Merge branch 'html-amp-gh69'

    authored
  3. Bob Ippolito

    bump to 2.3.1 and fix & handling in mochiweb_html

    authored

Nov 02, 2011

  1. Bob Ippolito

    add garbage collect on keep-alive sockets

    authored

Oct 15, 2011

  1. Bob Ippolito

    Merge branch 'html5-gh64'

    authored
  2. Bob Ippolito

    version bump

    authored
  3. Bob Ippolito

    Support all HTML5 entities

    authored

Oct 06, 2011

  1. Bob Ippolito

    Merge pull request #61 from kardan/master

    Added new MIME types
    authored

Sep 30, 2011

  1. Daniel Karlsson

    Added otf (font/opentype) to MIMEs

    authored
  2. Daniel Karlsson

    Added MIME types for eot, m4v, svg, svgz, ttc, ttf, vcf, webm, webp a…

    …nd woff files.
    authored

Sep 19, 2011

  1. Bob Ippolito

    Merge pull request #59 from wangjia/23bae1004d020e8baff628995aad4fcc7…

    …8f3ee16
    
    handle ssl_closed message
    authored
  2. jia-wang

    handle ssl_closed message

    authored

Sep 09, 2011

  1. Bob Ippolito

    fix typo in mochiweb_multipart edoc

    authored

Aug 31, 2011

  1. Bob Ippolito

    update CHANGES and version

    authored
  2. Bob Ippolito

    remove unused mochiweb_skel

    authored

Aug 30, 2011

  1. Bob Ippolito

    Merge branch 'start-vs-start_link-gh58'

    authored
  2. Bob Ippolito

    add a CHANGES.md, about time

    authored
  3. Bob Ippolito

    implement start_link/1 exports and add {link, false} option to start/1

    authored
  4. Bob Ippolito

    add mochijson2:decode/2 with [{format, eep18 | proplist | struct}] op…

    …tion
    authored

Aug 16, 2011

  1. Bob Ippolito

    Merge pull request #57 from mochi/flv-mime-type

    The correct mime type for .flv files is video/x-flv
    authored
  2. David Reid

    The correct mime type for .flv files is video/x-flv

    authored
  3. Bob Ippolito

    Merge pull request #56 from wardbekker/master

    Travis-CI support added
    authored
  4. Ward Bekker

    added travis config

    authored

Jul 28, 2011

  1. Bob Ippolito

    Merge pull request #49 from fdmanana/req_accepts_content_types

    Add mochiweb_request:accepted_content_types/1
    authored
  2. Bob Ippolito

    Merge pull request #50 from fdmanana/remove_function_clause

    Removed one mochiweb_request:accepts_content_type/1 function clause
    authored
  3. Bob Ippolito

    Merge branch 'hmac-example-53'

    authored
  4. Bob Ippolito

    erlang-mode comments and indentation

    authored
  5. Bob Ippolito

    Merge remote branch 'hypernumbers/master' into hmac-example-53

    authored

Jul 26, 2011

  1. Vixo

    Fixed up the code

    Removed the misformed define (and reported it to erlang-bugs as it shouldn't have ever compiled)
    Rewritten the headers stuff
    Removed export all
    authored
  2. Vixo

    Fix up of README

    Proper spell-checking and re-read for sense. A couple of minor additions but mostly spelling/grammer
    authored

Jul 22, 2011

  1. Vixo

    tweak to doco

    authored
  2. Vixo

    An example of an Amazon Web Services style HMAC api for mochiweb.

    This is designed to make it easy to build API authentication without re-inventing the crypto/schema wheel.
    
    It should enable a common set of client libraries to be built.
    
    Includes:
    * complete documentation of:
      - the schema
      - the reference implementation
      - how to create and deploy a custom implementation
    * unit tests against the Amazon API documentation
    authored

Jun 21, 2011

  1. Filipe Manana

    Add one more test for mochiweb_request:accepted_content_types/1

    authored

Jun 17, 2011

  1. Filipe Manana

    Removed one mochiweb_request:accepts_content_type/1 function clause

    This was not a necessary clause because the regexp replace operation
    accepts iolists.
    authored
  2. Filipe Manana

    Add mochiweb_request:accepted_content_types/1

    %% @spec accepted_content_types([string() | binary()]) -> [string()] | bad_accept_header
    %%
    %% @doc Filters which of the given media types this request accepts. This filtering
    %%      is performed by analyzing the "Accept" header. The returned list is sorted
    %%      according to the preferences specified in the "Accept" header (higher Q values
    %%      first). If two or more types have the same preference (Q value), they're order
    %%      in the returned list is the same as they're order in the input list.
    %%
    %%      Examples
    %%
    %%      1) For a missing "Accept" header:
    %%         accepted_content_types(["text/html", "application/json"]) ->
    %%             ["text/html", "application/json"]
    %%
    %%      2) For an "Accept" header with value "text/html, application/*":
    %%         accepted_content_types(["application/json", "text/html"]) ->
    %%             ["application/json", "text/html"]
    %%
    %%      3) For an "Accept" header with value "text/html, */*; q=0.0":
    %%         accepted_content_types(["text/html", "application/json"]) ->
    %%             ["text/html"]
    %%
    %%      4) For an "Accept" header with value "text/html; q=0.5, */*; q=0.1":
    %%         accepts_content_types(["application/json", "text/html"]) ->
    %%             ["text/html", "application/json"]
    %%
    authored
Something went wrong with that request. Please try again.