Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 31, 2011
  1. @etrepum

    update CHANGES and version

    etrepum authored
  2. @etrepum

    remove unused mochiweb_skel

    etrepum authored
Commits on Aug 30, 2011
  1. @etrepum
  2. @etrepum

    add a CHANGES.md, about time

    etrepum authored
  3. @etrepum
  4. @etrepum
Commits on Aug 16, 2011
  1. @etrepum

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

    etrepum authored
    The correct mime type for .flv files is video/x-flv
  2. @dreid
  3. @etrepum

    Merge pull request #56 from wardbekker/master

    etrepum authored
    Travis-CI support added
  4. @wardbekker

    added travis config

    wardbekker authored
Commits on Jul 28, 2011
  1. @etrepum

    Merge pull request #49 from fdmanana/req_accepts_content_types

    etrepum authored
    Add mochiweb_request:accepted_content_types/1
  2. @etrepum

    Merge pull request #50 from fdmanana/remove_function_clause

    etrepum authored
    Removed one mochiweb_request:accepts_content_type/1 function clause
  3. @etrepum

    Merge branch 'hmac-example-53'

    etrepum authored
  4. @etrepum
  5. @etrepum
Commits on Jul 26, 2011
  1. @hypernumbers

    Fixed up the code

    hypernumbers authored
    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. @hypernumbers

    Fix up of README

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

    tweak to doco

    hypernumbers authored
  2. @hypernumbers

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

    hypernumbers authored
    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
  1. @fdmanana
Commits on Jun 17, 2011
  1. @fdmanana

    Removed one mochiweb_request:accepts_content_type/1 function clause

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

    Add mochiweb_request:accepted_content_types/1

    fdmanana authored
    %% @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. @etrepum
  2. @etrepum
  3. @etrepum

    convert tabs to spaces

    etrepum authored
  4. @etrepum

    run once in test

    etrepum authored
Commits on May 9, 2011
  1. @danabr
  2. @danabr

    Use the new binary module to make multipart parsing 3x faster than wi…

    danabr authored
    …th the previously suggested solution
  3. @danabr
Commits on May 4, 2011
  1. Fix indentation

    Daniel Abrahamsson authored
  2. Speed up the multipart parser

    Daniel Abrahamsson authored
Commits on Apr 20, 2011
  1. @etrepum
  2. @etrepum
  3. Added more mime types including some essential ones for generally use…

    Iqbal Bhatti authored
    …d web media formats tiff, mpeg, etc. Without it Firefox does not know what to do with an extensionless tiff.
Commits on Apr 12, 2011
  1. Merge branch 'dr-dialyzer-more-warnings'

    David Reid authored
Something went wrong with that request. Please try again.