Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 3, 2010
  1. @etrepum
Commits on Dec 1, 2010
  1. @etrepum
  2. @etrepum
Commits on Nov 12, 2010
  1. Merge branch 'rebarify-15688'

    David Reid authored
  2. Remove trailing whitespace

    David Reid authored
  3. @etrepum
  4. @etrepum
  5. @etrepum

    remove things from the template that require mochierl_lib, template p…

    etrepum authored
    …rojects should be copyright of the author not Mochi Media by default
  6. @etrepum
  7. @etrepum
  8. @etrepum

    bump version to 1.4.1

    etrepum authored
  9. @etrepum
Commits on Nov 11, 2010
  1. If we're going to hide rebar from the user for make app we might as w…

    David Reid authored
    …ell use slightly better variable name.
  2. Merge branch 'master' into rebarify-15688

    David Reid authored
    Conflicts:
    	.gitignore
    	README
    	support/include.mk
    	support/make_app.escript
  3. Better rebar templating support. Including makefile target, readme do…

    David Reid authored
    …cs and doesn't require you to make your own toplevel directory.
  4. @etrepum

    Merge branch 'pu'

    etrepum authored
  5. @etrepum
  6. @kocolosk @etrepum

    5 minute default idle timeout

    kocolosk authored etrepum committed
Commits on Nov 10, 2010
  1. @etrepum

    Merge branch 'pu'

    etrepum authored
  2. @etrepum

    Merge branch 'master' into pu

    etrepum authored
  3. @fdmanana @etrepum

    Corrected comment and added more tests to mochiweb_util:parse_qvalues…

    fdmanana authored etrepum committed
    …_test/0.
  4. @fdmanana @etrepum

    Added mochiweb_request:accept_content_type/1 function.

    fdmanana authored etrepum committed
    This function allows a caller to know if a request accepts a given media type.
    Examples:
    
          1) For a missing "Accept" header:
             accepts_content_type("application/json") -> true
    
          2) For an "Accept" header with value "text/plain, application/*":
             accepts_content_type("application/json") -> true
    
          3) For an "Accept" header with value "text/plain, */*; q=0.0":
             accepts_content_type("application/json") -> false
    
          4) For an "Accept" header with value "text/plain; q=0.5, */*; q=0.1":
             accepts_content_type("application/json") -> true
    
          5) For an "Accept" header with value "text/*; q=0.0, */*":
             accepts_content_type("text/plain") -> false
  5. @etrepum

    edoc cleanup

    etrepum authored
  6. @etrepum

    Merge branch 'pu'

    etrepum authored
  7. @etrepum

    Merge branch 'master' into pu

    etrepum authored
  8. @jkoops @etrepum

    Fix for error in parsing particular incorrect singletons.

    jkoops authored etrepum committed
    When the HTML parser attempts to parse tags that should be
    singletons but are not, AND they have content, an exception
    occurs:
    
      1> mochiweb_html:parse("<html><input><input>x</input></input></html>").
      ** exception error: no case clause matching
            	            {[],[{<<"input">>,[],[<<"x">>]},{<<"input">>,[],[]}]}
           in function  mochiweb_html:destack/2
           in call from mochiweb_html:tree/2
           in call from mochiweb_html:parse_tokens/1
    
    This patch provides a fix.
Commits on Nov 9, 2010
  1. @doubleyou
Commits on Nov 8, 2010
  1. @fdmanana
  2. @fdmanana

    Added mochiweb_request:accept_content_type/1 function.

    fdmanana authored
    This function allows a caller to know if a request accepts a given media type.
    Examples:
    
          1) For a missing "Accept" header:
             accepts_content_type("application/json") -> true
    
          2) For an "Accept" header with value "text/plain, application/*":
             accepts_content_type("application/json") -> true
    
          3) For an "Accept" header with value "text/plain, */*; q=0.0":
             accepts_content_type("application/json") -> false
    
          4) For an "Accept" header with value "text/plain; q=0.5, */*; q=0.1":
             accepts_content_type("application/json") -> true
    
          5) For an "Accept" header with value "text/*; q=0.0, */*":
             accepts_content_type("text/plain") -> false
Commits on Nov 2, 2010
  1. @doubleyou

    {active, false} -> {active, once}

    doubleyou authored
    Small refactoring
Commits on Nov 1, 2010
  1. run userdefined profile_fun for accept timing, handle state upgrade, …

    Emad El-Haraty authored
    …document and test.
  2. this is going to be a lot of data, so we need to make sure our networ…

    Emad El-Haraty authored
    …k and scribe can handle this
Commits on Oct 20, 2010
  1. @etrepum

    Merge branch 'master' into pu

    etrepum authored
  2. @jkoops @etrepum

    Fix for parsing broken processing instructions.

    jkoops authored etrepum committed
    Some HTML contains broken processing instructions, such as this one
    encountered in the wild: `<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />`.
    
    The parser crashes on this since it only accepts `?>` (or end-of-file) as
    the end of a processing instruction. This patch fixes it by also
    allowing `>` or `/>` to end a processing instruction.
Commits on Oct 18, 2010
  1. Lots of work on using rebar templates for creating new projects. New …

    David Reid authored
    …projects will use rebar and automatically include mochiweb as a dep.
Something went wrong with that request. Please try again.