Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

R16 #1

merged 107 commits into from Mar 27, 2013
Commits on Jun 29, 2012
Commits on Jul 4, 2012
  1. Fix parse_set_cookie/1 and format_set_cookie/1 functions

    capflam committed Jul 4, 2012
    1. According to the RFCs 2109 and 2965, multiple cookies can be set in a
    single 'Set-Cookie' header. So, yaws_api:parse_set_cookie/1 now returns a
    list of #setcookie{} records. If no cookie was found or if an error occurred,
    it returns []. The parsing is also improved.
    Note that this fix breaks the compatibility with previous versions.
    2. In yaws_api:format_set_cookie/1, options are now always formated as
    3. 2 new functions are added, yaws_api:parse_cookie/1 and
    yaws_api:format_cookie/1, to parse and format 'Cookie' headers. To let these
    functions to work, the #cookie{} record was introduced.
    Documentation and testsuite are updated accordingly.
Commits on Jul 6, 2012
  1. -fixed action header for soap12 requests to contain action rather tha…

    kdcircle committed Jul 6, 2012
    …n operation;
    -added namespace registry to allow for wsdl inline schemas in different namespaces
  2. Merge pull request #113 from tuncer/reltool-update

    vinoski committed Jul 6, 2012
    Sync with upstream rebar node template
  3. minor changes to server-sent events

    vinoski committed Jul 6, 2012
    Change yaws_sse to send close connection header by default, and change the
    example to return an Allow header if anything other than GET is requested.
Commits on Jul 9, 2012
Commits on Jul 10, 2012
  1. Refactor Set-Cookie/Cookie header parsing to follow RFC6265

    capflam committed Jul 9, 2012
    RFC6265 obsoletes RFC2965 and RFC2109. #setcookie{} and #cookie{} are
    changed to reflect this new RFC. So, yaws_api:parse_set_cookie/1 and
    yaws_api:parse_cookie/1 are refactored accordingly:
    * yaws_api:parse_set_cookie/1: Because RFC2109 and RFC2965 are still used,
      we try to be backward compatible with these old RFCs. So this function
      returns a #setcookie{} record when only one cookie is found else it returns
      a list of #setcookie{} records.
      in RFC2109 and RFC2965, cookies are separated by comma. So, comma is
      forbidden in 'path-av' and 'extension-av' except for double-quoted value.
      The parsing are not really strict because of the compatibility and can lead
      to unwanted behaviors.
      Old attributes (like 'Comment' or 'Port') are still parsed and can be
      found into #setcookie.extensions field.
    * yaws_api:parse_cookie/1: This function follows the RFC6265, so all cookie
      attributes (like '$Domain' or '$Path') are parsed like any other cookie.
  2. wrap SSL sockets in tuple

    vinoski committed Apr 20, 2012
    Yaws previously internally used details of an SSL socket representation
    that's supposed to be private/opaque to Erlang's SSL support. Encapsulate
    SSL sockets within a {ssl, SslSocket} tuple and add the
    yaws_api:get_sslsocket/1 function that returns a socket for SSL sockets or
    undefined for non-SSL sockets. Also document the new get_sslsocket/1
    function and other minor tweaks to SSL areas of the documentation.
  3. minor changes to server-sent events

    vinoski committed Jun 29, 2012
    Change yaws_sse to send close connection header by default, and change the
    example to return an Allow header if anything other than GET is requested.
Commits on Jul 11, 2012
  1. Add index_files directive into the server part configuration

    capflam committed Jul 11, 2012
    This directive sets the list of resources to look for, when a directory is
    requested by the client. If the last entry begins with a "/", and none of
    the earlier resources are found, Yaws will perform a redirect to this uri.
    Default is:
      index_files = index.yaws index.html index.php
Commits on Jul 12, 2012
Commits on Jul 13, 2012
  1. Merge pull request #116 from sumup/feature/soap12_imports_namespaces

    klacke committed Jul 13, 2012
    Feature/soap12 imports namespaces
Commits on Jul 14, 2012
  1. Merge pull request #117 from tuncer/noderunner

    vinoski committed Jul 14, 2012
    Sync rel/files/yaws with upstream template
Commits on Jul 24, 2012
Commits on Jul 25, 2012
  1. Make the mime types mappings configurable

    capflam committed Jul 19, 2012
    Now, it possible to customize the global mime types mappings and to overload
    it for each virtual server. It can be done using following directives in the
    global part or the server part of the configuration:
    * default_type: Defines the default mime type to be used where Yaws cannot
      determine it by its mime types mappings (default: text/plain).
      In the server part, this directive overloads the global one.
    * default_charset: Defines the default charset to be added when a response
      content-type is text/* (default: none). In the server part, this directive
      overloads the global one.
    * mime_types_file: Overrides the default mime.types file included with Yaws
      (default: ${PREFIX}/lib/yaws/priv/mime.types). In the server part, this
      directive overloads the global one but mappings defined in this file will
      not overload those defined by add_types directives in the global part.
    * add_types: Specifies one or more mappings between mime types and file
      extensions. More than one extension can be assigned to a mime type. If a
      mapping is defined in the global part and redefined in a server part using
      this directive, then the later is used. Else the global one is kept.
    * add_charsets: Specifies one or more mappings between charsets and file
      extensions. More than one extension can be assigned to a charset. If a
      mapping is defined in the global part and redefined in a server part using
      this directive, then the later is used. Else the global one is kept.
    Here is an example:
      default_type = text/html
      <server localhost>
          port = 8000
          listen =
          docroot = /var/www
          # nothing is overloaded in the vhost
      <server localhost>
          port = 8001
          listen =
          docroot = /var/www
          # overload global configuration:
          default_type    = text/plain
          mime_types_file = /etc/mime.types
          add_types       = <text/xhtml, yaws> <application/x-test, tst test>
          default_charset = UTF-8
          add_charsets    = <ISO-8859-1, php html yaws> <US-ASCII, tst>
    During Yaws compilation, a default module 'mime_types' is created using the
    default mime.types file. Then, when yaws starts up, this module is
    re-generated, re-compiled and loaded dynamically. The new module replaces the
    default one but the .beam file is unchanged. So if one of these steps failed,
    we fall back on the default module.
Commits on Jul 26, 2012
  1. Improve how Yaws is started in embedded mode

    capflam committed Jul 26, 2012
    The main change concerns the function yaws:create_sconf/2. Now, this function
    relies on yaws_config:make_default_sconf/2 to create a default #sconf record.
Commits on Jul 30, 2012
  1. Add basic websocket test.

    jbothma committed Jul 30, 2012
    It performs the handshake, then sends one text message and checks
    that it is echoed back correctly.
Commits on Aug 6, 2012
Commits on Aug 7, 2012
  1. Merge pull request #121 from jbothma/master

    vinoski committed Aug 7, 2012
    Add basic websocket test.
Commits on Aug 22, 2012
  1. add flexible variant of yaws_api:reformat_header

    vinoski committed Aug 22, 2012
    Add a new yaws_api:reformat_header/2 that takes a formatting function as
    the second argument. The old reformat_header/1 now just calls this, passing
    the original formatting function.
Commits on Aug 23, 2012
Commits on Aug 24, 2012
  1. make sure more modules are included in a release (issue #122)

    vinoski committed Aug 24, 2012
    The problem that caused issue #122 is that the yaws_outmod module, which
    isn't directly referenced by any other yaws module, was not being included
    in the application release. Change the mod_cond in rel/reltool.config to
    all rather than app to ensure yaws_outmod gets included.
  2. revert commit d990b30

    vinoski committed Aug 24, 2012
    Commit d990b30 was intended to fix issue #122 but my testing was flawed, so
    I'm reverting it. The real issue seems to be a bug with reltool not
    honoring app overrides of sys-level mod_cond settings.
Commits on Aug 25, 2012
  1. make sure "rebar eunit" passes

    vinoski committed Aug 24, 2012
    When using yaws as an app dependency for another application built with
    rebar, I noticed that testing that application with "rebar eunit" would
    fail while testing yaws. It was easy to work around with "rebar eunit
    skip_deps=true" but yaws really should pass its tests when tested via
    Change rebar.config to add ibrowse as a dependency. It's used only for
    testing, but rebar doesn't support test-only dependencies, plus it's
    filtered out during release generation anyway.
    Modify some of the test files to be able to find ibrowse include files
    regardless of whether they're built via make or via rebar. Also rename all
    non-eunit test functions ending in "_test" so they don't confuse eunit. Also
    had to move the embedded_yaws_id_dir test from eunit to t2 because it fails
    under "rebar eunit" when yaws is a dependency for another app. It fails
    because it calls into the yaws_api:embedded_start_conf function which tries
    to call application:load(yaws), but paths aren't properly set up to allow
    that to work under these testing circumstances.
    Note that not all tests currently run under rebar; building with make and
    then running "make test" results in many more tests being executed. Fixing
    this will come later.
Commits on Aug 26, 2012
  1. add startup script for FreeBSD 9 (Thomas Elsgaard)

    vinoski committed Aug 26, 2012
    Add scripts/freebsd/yaws for FreeBSD version 9 or later. The original
    script at scripts/freebsd/yaws.sh is retained for use with FreeBSD versions
    prior to 9.
Commits on Sep 1, 2012
  1. update mime.types file

    vinoski committed Sep 1, 2012
Commits on Sep 8, 2012
  1. Update Makefile and src/Makefile

    jj1bdx committed Sep 8, 2012
    * Targets in `Makefile` of `yaws.plt` and `dialyzer` calls
      dialyzer with two target directories, `ebin` and `src`;
      this causes the error of duplicate modules.
      Checking out the .beam files under `ebin` is sufficient
      for dialyzer; `src` is removed.
    * Target `mime_type_c.beam` in `src/Makefile` is
      superfluous and generates a spurious .beam file in
      the `src` directory, so the target is removed.
      Also target `charset.def` in `src/Makefile` should be
      dependent on `../ebin/mime_type_c.beam`, so this is
      also changed from the previous target without the
      directory path.
  2. Merge pull request #124 from jj1bdx/jj1bdx-dialyzer-fix

    klacke committed Sep 8, 2012
    Update Makefile and src/Makefile
Commits on Sep 9, 2012
Commits on Sep 10, 2012
  1. Added support to configure ciphers in ssl, previously the ciphers = V…

    klacke committed Sep 10, 2012
    …al stricng in yaws.conf required the Val to be a string according the openssl cipher string spec language. Now we specify an erlang list instead, the list shall comply to the output of ssl:cipher_suites()
Commits on Sep 18, 2012
  1. Optimize the ACL checks during the request's authentication

    capflam committed Jul 26, 2012
    Now, in yaws_server:handle_auth/4, the client ip is no more converted into
    integer. All ip addresses in #auth.acl are of the type ip_address(). That makes
    easier the checking of the client ip.
    To clean up the code, functions that parses and checks the allowed/denied ip
    addresses with the client ip were moved into yaws.erl.
  2. Parse extensions and trailing headers of chunked transfer encoded req…

    capflam committed Sep 12, 2012
    Chunk extensions and trailing headers are parsed but ignored in requests
    and are not supported in responses. It is a strange feature of the RFC-2619
    and would be hard to implement. Moreover, this feature is rarely supported
    by clients and servers and even less used.
    So, without any concrete use-case, no further work will be done on this
Commits on Oct 1, 2012
Commits on Oct 2, 2012
  1. Fix SSL socket wrapping

    capflam committed with vinoski Oct 2, 2012
    We must be careful when we rely on Arg#arg.clisock in Yaws modules
    because the socket is wrapped in case of SSL connections.
    Thanks to Jean-Charles Campagne.
Commits on Oct 4, 2012
  1. document as the default listen interface

    vinoski committed Oct 4, 2012
    Fix the yaws.conf man page to state that is the default listen
    interface for a virtual server. Also document the same in the yaws.tex
  2. some man page cleanup/repair

    vinoski committed Oct 4, 2012
Commits on Oct 6, 2012
  1. Added RFC6265 compliant variant of setcookie.

    saleyn committed Oct 6, 2012
    The new set_cookie/3 function implements more complete RFC2109
    cookie formatting than setcookie/6 and is 10x - 15x more efficient
    than its old setcookie counterpart because of avoiding the use of
    io_lib:format/2.  The setcookie/2 through setcookie/6 are marked
    as deprecated.  The function is named set_cookie rather than setcookie
    to facilitate the ease of depricating the old implementation.
  2. Added test cases.

    saleyn committed Oct 6, 2012
  3. Added more test cases.

    saleyn committed Oct 6, 2012
Commits on Oct 7, 2012
  1. Merge pull request #127 from saleyn/set_cookie

    klacke committed Oct 7, 2012
    Added RFC6265 compliant variant of yaws_api:set_cookie/3.
Commits on Oct 9, 2012
  1. add a configurable dispatch module

    vinoski committed Sep 25, 2012
    Allow an application to supply its own dispatch module for a server by
    setting the new dispatchmod variable in the server config. The module is
    expected to export a dispatch/1 function that returns one of the following
    * done: this indicates the dispatch module has handled the request and sent
      the response, and Yaws should go look for a new request on this
    * closed: same as "done" but also indicates the dispatch module has closed
      the connection
    * continue: this tells Yaws to continue with the normal dispatch path
Commits on Oct 13, 2012
  1. Added sorting of subconfigdir

    tjeerd committed with vinoski Aug 26, 2012
  2. Follow structure of EHTML as stated in manual

    tjeerd committed with vinoski Aug 26, 2012
  3. WebDAV compliancy rework (Tjeerd van der Laan)

    vinoski committed Jul 12, 2012
    The WebDAV support is reworked and adds class 1, 2 and 3 compliancy
    which includes:
    * XML request body parsing and  multistatus responses
    * PROPFIND and PROPPATCH methods returning properties asked for
    * all RFC4918 properties, the Apache executable property plus some
      Microsoft extensions
    * locking mechanism (class 2 compliancy) on all destructive methods
    * If header parsing
Commits on Oct 14, 2012
  1. add missing make rule for davconf

    Steve Vinoski committed Oct 14, 2012
Commits on Oct 15, 2012
  1. news

    klacke committed Oct 15, 2012
Commits on Oct 17, 2012
  1. more WebDAV fixes (lyk0rian)

    vinoski committed Oct 17, 2012
  2. The --heart option didn't work as expected when yaws ran out of filed…

    klacke committed Oct 17, 2012
    …escriptors - capflam
  3. prepare for 1.95

    klacke committed Oct 17, 2012
Commits on Oct 19, 2012
  1. Handle relative paths when Yaws is started in embedded mode

    capflam committed Oct 19, 2012
    Now, following functions will throw an error if the docroot
    directory does not exist:
      * yaws_api:embedded_start_conf/1,2,3,4
      * yaws:start_embedded/1,2,3,4
      * yaws:add_server/2
      * yaws:create_sconf/2
Commits on Oct 22, 2012
  1. keep websocket errors from crashing gen_server

    vinoski committed Oct 22, 2012
    Change websocket implementation to not stop abnormally or crash with noisy
    logs if errors occur.
Commits on Oct 23, 2012
  1. ensure compatibility with Erlang R13B04

    vinoski committed Oct 23, 2012
    For R13B04 compatibility, fix bare calls to integer_to_list and
    list_to_integer, and in yaws_davlock provide an alternative for pre-R14 for
    finding hwaddrs.
Commits on Oct 24, 2012
Commits on Nov 9, 2012
  1. Fix doc errors

    capflam committed Nov 9, 2012
  2. Remove invalid macro in yaws.hrl

    capflam committed Nov 9, 2012
    ?sc_set_ssl is never used and rely on the undefined macro ?SC_SSL.
  3. handle case with DOS attack towards pam login with embedded NUL chars…

    klacke committed Nov 9, 2012
    … in username or password. The protocol cannot handle NUL chars and Yaws dies
Commits on Nov 15, 2012
  1. Extend syntax of redirect block to allow an optional status code

    capflam committed with vinoski Nov 13, 2012
    Now, it is possible to change the HTTP status code used in redirect rules.
    Supported formats are:
       Path = URL
       Path = code
       Path = code URL
    * '==' syntax instead of '=' is always valid.
    * If no status code is defined, Yaws will perform a 302 redirect.
    * For 3xx status codes, the URL parameter must be present and will be used
      to build the new location.
    * For other status codes (1xx, 2xx, 4xx and 5xx), it can be omitted. In the
      absence of URL, Yaws will return a generic response with the specified
      status code. Otherwise, the URL parameter must be a relative URL and will
      be used to customize the response.
    For example:
        /foo = http://yaws.hyber.org  # (1)
        /bar = 301 /foo               # (2)
        /baz = 404                    # (3)
        /qux = 403 /forbidden.yaws    # (4)
    (1) do a 302 redirect on 'http://yaws.hyber.org/foo/...'
    (2) do a 301 redirect on 'scheme:host:port/bar/...'
    (3) return a generic 404 error
    (4) do a reentrant call to '/forbidden.yaws' by setting the status code
        to 403.
    Note: this new feature is fully compatible with older one.
Commits on Nov 20, 2012
  1. Take care to preserve the query-string in yaws_server:deliver_302/4

    capflam committed Nov 20, 2012
    It is an old bug on the redirect made when the trailing slash is missing.
    The query-string was always missing from the redirect URL. So now, we add
    it explicitly.
Commits on Nov 28, 2012
  1. skip sslaccept_tout_test for R15B03

    vinoski committed Nov 28, 2012
    An SSL bug introduced in R15B03 makes the sslaccept_tout_test fail. The bug
    is explained here:
    Check the Erlang version and skip that test for R15B03.
Commits on Nov 29, 2012
  1. Fix compilation of mime_types.erl when working directory is not 'yaws'

    capflam committed Nov 29, 2012
    When mime_types.erl is generated, we must check if it is done during a Yaws
    compilation or a Yaws startup. In the first case, we must use a relative
    path for includes. Else include_lib must be used.
    This issue was reported by Andrei Zavada and avoid a compile error when the
    working directory is not 'yaws'.
    The mechanisms to generate and compile this file have also changed.
    Then, to centralize calls to yaws_generated:is_local_install/0, following
    functions was added in yaws.erl:
      get_app_dir/0, get_src_dir/0, get_ebin_dir/0, get_priv_dir/0, get_inc_dir/0
  2. Fix io:format call in yaws_compile.

    olgeni committed Nov 29, 2012
    Basically, yaws_compile was unable to process items in some "unlucky"
    paths on Win32.
    NTFS may generate filenames in an MS-DOS compatible format if the
    original filename is not compatible with the legacy 8.3 notation;
    these filenames often contain tilde characters, which are inserted
    (unquoted) in the Format parameter of io:format by the string
    These unquoted tilde characters are processed as usual, leading to
    a badarg error as the Data parameter is always an empty list.
  3. Merge pull request #133 from olgeni/tilde_injection_fix

    capflam committed Nov 29, 2012
    Fix io:format call in yaws_compile.
Commits on Dec 1, 2012
  1. Support multipart/form-data "name" with backslash at the end.

    weisslj committed with vinoski Dec 1, 2012
    Also add multipart/form-data tests ("name" with escaped characters).
Commits on Jan 3, 2013
  1. Make be possible to chain appmods

    capflam committed Nov 21, 2012
    Before, all appmods were disabled during a reentrent call. So it was
    impossible to chain appmods. Now, it is possible. Only the current appmod
    is disabled for the next recursion (if we are inside an appmod of course).
    So if we have this configuration for appmods:
      appmods = </foo, foo> </bar, bar>
    When "/foo" is requested, the appmon "foo" is called. At this step, it is
    possible to call the appmod "bar" by returning {page, "/bar"}.
  2. Keep info about the original request during a reentrant call

    capflam committed Nov 23, 2012
    Some information must be preserved during a reentrant call. From the original
    request, we keep:
      * buffered data (Arg#arg.clidata) and the number of bytes read
      * the request state (Arg#arg.cont & Arg#arg.state)
  3. Flush remaining data in case of 3xx redirect

    capflam committed Nov 23, 2012
    When Yaws returns a 3xx response, if the client connection is kept alive,
    the remaining data must be flushed. Else the next request on the same
    connection cannot be handled.
  4. Fix when 'Expires' and 'Cache-Control' headers are set

    capflam committed Nov 9, 2012
    Because the content-type of the response may change many times during the
    request handling process, we must wait the #outh{} serialization to set it.
    Note: 'Last-modified' header is also managed in a same way because there is
    no good reason to set it before.
  5. Fix checks on the response content type when a charset is present

    capflam committed Nov 29, 2012
    When we test if a response is compressible or not, or when 'Expires' and
    'Cache-Control' headers are set, the charset must be removed from the
    response content-type to only keep the response mime-type.
  6. Add support of the 'Vary' header in response

    capflam committed Nov 30, 2012
    With this patch, Yaws will add 'Accept-Encoding' in 'Vary' header if the
    support of gzip compression is enabled or if the response is compressed.
    The 'Vary' header can be set using 'yaws:outh_set_vary(Fields)' or by
    returning '{header, {vary, Fields}}' from scripts (where Fields is a list
    of header names).
  7. Add access functions for #gconf{} and #sconf{} records

    capflam committed Nov 9, 2012
    Applications may want to retrieve information in it. yaws:gconf_*/1 and
    yaws:sconf_*/1 should be used in preference to a direct access to reduce
    the dependence of your code on these records. So internal modifications
    could be done avoiding the need to update and recompile your application.
    Update www/internals.yaws accordingly and remove dependency on 'yaws.hrl'
    in examples and applications. Add unit tests to check #gconf{} and #sconf{}
Commits on Feb 11, 2013
  1. Refactor WebSockets and add support of optional callback functions

    capflam committed Dec 10, 2012
    Main changes:
      * Fix some bugs about UTF-8 encoding and messages fragmentation
      * Add support of optional callback functions
      * Add support of many startup options
      * Add support of outgoing fragmented messages
      * Add a websocket testsuite
                                     - * -
    *** bug fixes ***
    First of all, an huge part of yaws_websocket.erl was rewritten to fix bugs
    about the messages fragmentation and the UTF-8 encoding of incoming text
      * UTF-8 encoding
        before, when a text message was fragmented, only the first frame was
        checked and partial UTF-8 sequences were not supported. Now, checks
        are done on each message part and a partial UTF-8 sequence at the end
        of a frame is accumulated and checked with the next frame (for basic
        callback only).
      * Messages fragmentation
        for basic callback modules, because of a buggy mapping between frames
        and messages, the messages fragmentation was almost unusable. To fix
        this, the message handling was rewritten.
    Now, all tests in the autobahn testsuite[1] pass successfully.
                                     - * -
    *** Optional callback functions ***
    Then, from an idea of François de Metz[2], yaws_websocket module was
    extended to support optional callback functions. See the documentation for
    details (www/websockets.yaws).
    Quickly, optional callback functions are:
      * Module:init/1           (for basic and advanced callback modules)
      * Module:terminate/2      (for basic and advanced callback modules)
      * Module:handle_open/2    (for basic and advanced callback modules)
      * Module:handle_info/2    (for basic and advanced callback modules)
      * Module:handle_message/2 (for basic callback modules only, used in place
                                 of Module:handle_message/1)
    Thanks to Pablo Vieytes[3] which added handle_info to optional callback
                                     - * -
    *** Startup options ***
    To start a websocket process a script must return the following term from
    its out/1 function:
      {websocket, CallbackMod, Options}
    where 'Options' is a (possibly empty) proplist. Following parameters are
      * {origin, Orig}
      * {callback, Type}
      * {keepalive, Boolean}
      * {keepalive_timeout, Tout}
      * {keepalive_grace_period, Time}
      * {drop_on_timeout, Boolean}
      * {close_timeout, Tout}
      * {close_if_unmasked, Boolean}
      * {max_frame_size, Int}
      * {max_message_size, Int}
      * {auto_fragment_message, Boolean}
      * {auto_fragment_threshold, Int}
    See the documentation for details (www/websockets.yaws).
                                     - * -
    *** Outgoing fragmented messages ***
    A callback module can now send fragmented messages to clients using the
    record #ws_frame{}:
     #ws_frame{fin     = true,  %% true | false
               rsv     = 0,
               opcode,          %% text | binary | continuation...
               payload = <<>>}. %% binary(), unmasked data
    [1] http://autobahn.ws/testsuite
    [2] klacke#99
    [3] https://github.com/pvieytes
Commits on Feb 12, 2013
  1. Fix typo in documentation

    capflam committed Feb 12, 2013
Commits on Feb 15, 2013
  1. spelling err

    klacke committed Feb 15, 2013
Commits on Feb 27, 2013
  1. fix R16B dialyzer issue

    vinoski committed Feb 27, 2013
Commits on Mar 3, 2013
Commits on Mar 8, 2013
  1. fix issue #140

    vinoski committed Mar 8, 2013
Commits on Mar 15, 2013
  1. add yaws_api:merge_header/2 and yaws_api:merge_header/3 funs

    vinoski committed Mar 13, 2013
    The merge_header functions allow HTTP headers and their values to be set
    and combined in a #headers{} record.
Commits on Mar 19, 2013
  1. preparing for yaws 1.96

    klacke committed Mar 19, 2013
Commits on Mar 25, 2013
  1. Move WebDAV to an appmod, the locking server to a runmod (tjeerd)

    vinoski committed Mar 25, 2013
    All WebDAV functionality is moved to an appmod so the extension methods and
    additional response headers are not part of yaws_server.erl and yaws.erl
    anymore. Also the locking server is now a runmod so it is not started by
    the supervisor and can be used only when needed.
    Additionally the 100-Continue code is moved so it can be returned to all
    requests that contain a body.
    The WebDAV functionality is tested against the litmus test. All tests are
    passed, except the ones that require unsupported properties. The test shows
    this as a fail while returning 404 should be sufficient.