Skip to content
Commits on Oct 28, 2011
  1. @vinoski
Commits on Oct 15, 2011
  1. @etrepum

    version bump

    etrepum committed Oct 14, 2011
  2. @etrepum

    Support all HTML5 entities

    etrepum committed Oct 14, 2011
Commits on Sep 30, 2011
  1. @kardan
  2. @kardan
Commits on Sep 19, 2011
  1. @wangjia

    handle ssl_closed message

    wangjia committed Sep 19, 2011
Commits on Sep 9, 2011
  1. @etrepum
Commits on Aug 31, 2011
  1. @etrepum

    update CHANGES and version

    etrepum committed Aug 31, 2011
  2. @etrepum

    remove unused mochiweb_skel

    etrepum committed Aug 31, 2011
Commits on Aug 30, 2011
  1. @etrepum
  2. @etrepum
Commits on Aug 16, 2011
  1. @dreid
Commits on Jul 28, 2011
  1. @etrepum

    Merge pull request #49 from fdmanana/req_accepts_content_types

    etrepum committed Jul 28, 2011
    Add mochiweb_request:accepted_content_types/1
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 committed Jun 17, 2011
    This was not a necessary clause because the regexp replace operation
    accepts iolists.
  2. @fdmanana

    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. @etrepum
  2. @etrepum

    convert tabs to spaces

    etrepum committed May 28, 2011
  3. @etrepum

    run once in test

    etrepum committed May 28, 2011
Commits on May 9, 2011
  1. @danabr

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

    danabr committed May 9, 2011
    …th the previously suggested solution
  2. @danabr
Commits on May 4, 2011
  1. Fix indentation

    Daniel Abrahamsson committed May 4, 2011
  2. Speed up the multipart parser

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

    Iqbal Bhatti committed Apr 20, 2011
    …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 'master' into dr-dialyzer-more-warnings

    David Reid committed Apr 12, 2011
    Conflicts:
    	src/mochiweb.erl
Commits on Apr 9, 2011
  1. Fix all unmatched_returns

    David Reid committed Apr 9, 2011
  2. Remove completely unusued application infrastructure.

    David Reid committed Apr 8, 2011
    There are a number of examples in otp of libraries that have .app files w/o a
    mod section.  So it appears that it is perfectly valid to not keep around a
    bunch of erlang/otp application infrastructure that is never used.
    
    There is also as has been pointed out many times no good reason to ever
    call application:start(mochiweb) and the current incarnation of
    mochiweb:start() didn't do anything correctly anyway because we have a
    dependence on the inets application which we don't start.
    
    The most reasonable thing to do seems like to remove this infrastructure and
    only care about the .app file as it's needed by rebar and other tools like
    dialyzer.
Commits on Mar 25, 2011
  1. @etrepum
Commits on Mar 15, 2011
  1. @lemenkov
Commits on Mar 11, 2011
  1. @etrepum
  2. @fdmanana
Something went wrong with that request. Please try again.