Permalink
Commits on Oct 15, 2011
  1. Merge branch 'html5-gh64'

    etrepum committed Oct 15, 2011
  2. version bump

    etrepum committed Oct 15, 2011
  3. Support all HTML5 entities

    etrepum committed Oct 15, 2011
Commits on Oct 6, 2011
  1. Merge pull request #61 from kardan/master

    etrepum committed Oct 6, 2011
    Added new MIME types
Commits on Sep 30, 2011
Commits on Sep 19, 2011
  1. Merge pull request #59 from wangjia/23bae1004d020e8baff628995aad4fcc7…

    etrepum committed Sep 19, 2011
    …8f3ee16
    
    handle ssl_closed message
  2. handle ssl_closed message

    wangjia committed Sep 19, 2011
Commits on Sep 9, 2011
Commits on Aug 31, 2011
  1. update CHANGES and version

    etrepum committed Aug 31, 2011
  2. remove unused mochiweb_skel

    etrepum committed Aug 31, 2011
Commits on Aug 30, 2011
  1. add a CHANGES.md, about time

    etrepum committed Aug 30, 2011
Commits on Aug 16, 2011
  1. Merge pull request #57 from mochi/flv-mime-type

    etrepum committed Aug 16, 2011
    The correct mime type for .flv files is video/x-flv
  2. Merge pull request #56 from wardbekker/master

    etrepum committed Aug 16, 2011
    Travis-CI support added
  3. added travis config

    wardbekker committed Aug 16, 2011
Commits on Jul 28, 2011
  1. Merge pull request #49 from fdmanana/req_accepts_content_types

    etrepum committed Jul 28, 2011
    Add mochiweb_request:accepted_content_types/1
  2. Merge pull request #50 from fdmanana/remove_function_clause

    etrepum committed Jul 28, 2011
    Removed one mochiweb_request:accepts_content_type/1 function clause
  3. Merge branch 'hmac-example-53'

    etrepum committed Jul 28, 2011
Commits on Jul 26, 2011
  1. Fixed up the code

    hypernumbers committed Jul 26, 2011
    Removed the misformed define (and reported it to erlang-bugs as it shouldn't have ever compiled)
    Rewritten the headers stuff
    Removed export all
  2. Fix up of README

    hypernumbers committed Jul 26, 2011
    Proper spell-checking and re-read for sense. A couple of minor additions but mostly spelling/grammer
Commits on Jul 22, 2011
  1. tweak to doco

    hypernumbers committed Jul 22, 2011
  2. An example of an Amazon Web Services style HMAC api for mochiweb.

    hypernumbers committed Jul 22, 2011
    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
Commits on Jun 21, 2011
Commits on Jun 17, 2011
  1. Removed one mochiweb_request:accepts_content_type/1 function clause

    fdmanana committed Jun 17, 2011
    This was not a necessary clause because the regexp replace operation
    accepts iolists.
  2. Add mochiweb_request:accepted_content_types/1

    fdmanana committed Jun 17, 2011
    %% @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"]
    %%
Commits on May 28, 2011
  1. convert tabs to spaces

    etrepum committed May 28, 2011
  2. run once in test

    etrepum committed May 28, 2011