Permalink
Commits on Dec 17, 2011
  1. fix edoc warnings

    etrepum committed Dec 17, 2011
  2. Merge branch 'html-amp-gh69'

    etrepum committed Dec 17, 2011
Commits on Nov 2, 2011
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

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

    …8f3ee16
    
    handle ssl_closed message
    etrepum committed Sep 19, 2011
  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

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

    Travis-CI support added
    etrepum committed Aug 16, 2011
  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

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

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

    etrepum committed Jul 28, 2011
Commits on Jul 26, 2011
  1. 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
    hypernumbers committed Jul 26, 2011
  2. Fix up of README

    Proper spell-checking and re-read for sense. A couple of minor additions but mostly spelling/grammer
    hypernumbers committed Jul 26, 2011
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.

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

    This was not a necessary clause because the regexp replace operation
    accepts iolists.
    fdmanana committed Jun 17, 2011
  2. 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"]
    %%
    fdmanana committed Jun 17, 2011