Permalink
Commits on Jan 24, 2017
  1. Bump

    Jeffail committed Jan 24, 2017
Commits on Jan 5, 2017
  1. Merge pull request #18 from krzysztofwos/ubuntu-multiarch

    Add Ubuntu/Debian Multiarch library paths
    Jeffail committed on GitHub Jan 5, 2017
Commits on Oct 15, 2016
Commits on Sep 9, 2016
  1. Incr patch

    Jeffail committed Sep 9, 2016
Commits on Sep 8, 2016
Commits on Jan 13, 2016
Commits on Sep 7, 2015
  1. Merge pull request #10 from bowlofstew/feature/travis

    FEATURE: Added support for Travis-CI
    benjamg committed Sep 7, 2015
Commits on Sep 5, 2015
  1. Added travis-ci support

    bowlofstew committed Sep 5, 2015
Commits on Sep 4, 2015
  1. Merge pull request #1 from datasift/master

    Synchronize
    bowlofstew committed Sep 4, 2015
Commits on Sep 3, 2015
  1. Merge pull request #8 from caryanne/patch-1

    Remedies cmake error due to file rename
    benjamg committed Sep 3, 2015
Commits on Sep 2, 2015
  1. Remedies cmake error due to file rename

    Addresses #7
    stevensona committed Sep 2, 2015
  2. Updated link to LICENSE.md

    Christopher Gilbert committed Sep 2, 2015
Commits on Sep 1, 2015
  1. Merge pull request #6 from manashmndl/patch-1

    Rename LICENSE to LICENSE.md
    benjamg committed Sep 1, 2015
Commits on Jul 13, 2015
  1. bump

    Jeffail committed Jul 13, 2015
Commits on Jul 10, 2015
  1. Merge pull request #4 from datasift/feature/wrapper_plugins

    Add wrapper plugins
    benjamg committed Jul 10, 2015
Commits on Jul 9, 2015
  1. Add wrapper plugins

    Jeffail committed Jul 9, 2015
Commits on Mar 25, 2015
  1. Increment minor version

    Jeffail committed Mar 25, 2015
  2. Catch unrecognised HTTP method

    Jeffail committed Mar 25, 2015
Commits on Jan 17, 2015
  1. Rename intro doc to README

    Jeffail committed Jan 17, 2015
Commits on Jan 12, 2015
  1. Request duplicate header fields are catenated

    It is legal to have multiple header field keys only if those values are
    safe to catenate with comma separators without changing the semantics of
    the message. Since we only deal with single header fields within Served
    we now do the catenating of duplicates as part of the parse process.
    
    There is scope in the future for having helpers to split those headers
    by comma, and also to merge multiple header fields of a response rather
    than replace using a new syntax.
    
    Ref: http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
    Jeffail committed Jan 12, 2015
Commits on Jan 9, 2015
  1. Cleaned up the examples

    Jeffail committed Jan 9, 2015
Commits on Jan 8, 2015
  1. Cleaned up some docs

    Jeffail committed Jan 8, 2015
Commits on Jan 7, 2015
Commits on Dec 19, 2014
  1. docs: add section on expressing terminated paths

    (tested by Ash)
    Rhubbarb committed Dec 19, 2014
  2. minor, docs; pedantry

    Rhubbarb committed Dec 19, 2014
Commits on Dec 11, 2014
  1. Incremented version

    Jeffail committed Dec 11, 2014
  2. /served/Served/g

    Jeffail committed Dec 11, 2014
  3. Added req.source() support

    Jeffail committed Dec 11, 2014
  4. Updated documentation

    Jeffail committed Dec 11, 2014
Commits on Dec 10, 2014
  1. Merge pull request #1 from datasift/feature/query_parse_improvements

    Improved query string parsing and param access
    benjamg committed Dec 10, 2014
  2. Merge pull request #2 from datasift/feature/handler_pattern_override

    Served multiplexer now allows handler overrides.
    benjamg committed Dec 10, 2014
  3. Served multiplexer now allows handler overrides.

    The served multiplexer now allows you to override a specific handler
    pattern. Previous behaviour was to simply append the new matching
    handler onto the end of the handler stack, and therefore it would never
    be called since any match would already be dispatched to the first
    definition.
    
    The new behaviour is that any handler definition whose pattern matches
    an existing handler will remove the previous handler from the stack
    before being appended to the end.
    
    This means for resolving the order of precendence of an overriding
    handler you simply follow the sames rules as if the original overriden
    handler had never existed, rather than assuming that the new handler
    takes the position of the original.
    
    For example, given the following handler definitions:
    
    handle("/foo").get(foo);
    handle("/"   ).get(bar);
    handle("/foo").get(baz); // Overrides the previous by removing it
    
    And the following request:
    
    GET /foo HTTP/1.1
    
    The handler 'bar' is called since it matches and comes before the
    new '/foo' handler.
    Jeffail committed Dec 10, 2014
  4. Improved query string parsing and param access

    The query string of request URLs will now automatically be parsed for
    all requests and stored in req.query as key/value pairs after being URL
    unescaped.
    
    The query string of request URLs is now automatically parsed as
    key/value pairs. These values are URL unescaped and stored in req.query.
    
    The req.query object is the same served::parameters type as req.params,
    and this type has been improved with the ability to iterate. Iterating
    all REST params is now as simple as:
    
    for ( auto p : req.params ) {}
    
    And, similarly, for query string key/value pairs:
    
    for ( auto q : req.query ) {}
    Jeffail committed Dec 10, 2014