[dylan-lang/http] 17a064: default-content-type not specialized

GitHub <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <539aecb6155a_237a108dd3c692ea@hookshot-fe1-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/http
  Commit: 17a064f8131a122133aa8233954bf2ae8d5287dd
      https://github.com/dylan-lang/http/commit/17a064f8131a122133aa8233954bf2ae8d5287dd
  Author: Khaynolj Konovo Layana <[email protected]>
  Date:   2014-06-08 (Sun, 08 Jun 2014)

  Changed paths:
    M server/core/static-files.dylan

  Log Message:
  -----------
  default-content-type not specialized

f83e9d44a4cd1bceb88a1fc7c6a1b28488a953a9 allows default-content-type to return either a <mime-type> or a <string> (and specializes to <string> with "application/octet-stream"), but locator-media-type for <directory-resource> here expects only a <mime-type>.

Add a specialized default-content-type method for <directory-resource> which returns a new <mime-type> of application/octet-stream


  Commit: fcf9f690be31b503784f7a994d12e7606f27a3a0
      https://github.com/dylan-lang/http/commit/fcf9f690be31b503784f7a994d12e7606f27a3a0
  Author: Khaynolj Konovo Layana <[email protected]>
  Date:   2014-06-08 (Sun, 08 Jun 2014)

  Changed paths:
    M server/core/resources.dylan

  Log Message:
  -----------
  Make default-content-type return <byte-string>


  Commit: f9b7a9d6b93f7db771bce728460d1eaaefa952a3
      https://github.com/dylan-lang/http/commit/f9b7a9d6b93f7db771bce728460d1eaaefa952a3
  Author: Khaynolj Konovo Layana <[email protected]>
  Date:   2014-06-08 (Sun, 08 Jun 2014)

  Changed paths:
    M server/core/static-files.dylan

  Log Message:
  -----------
  Update locator-media-type

Change the behaviour of locator-media-type to reflect the new generic default-content-type. Remove the specialized default-content-type as well since it is no longer needed.


  Commit: 943fc8c2663f1430163e27fb34a5946ea1484a7b
      https://github.com/dylan-lang/http/commit/943fc8c2663f1430163e27fb34a5946ea1484a7b
  Author: Khaynolj Konovo Layana <[email protected]>
  Date:   2014-06-08 (Sun, 08 Jun 2014)

  Changed paths:
    M server/dsp/dsp.dylan

  Log Message:
  -----------
  Update dsp.dylan

Change the specialization of default-content-type to fit with the new generic interface.


  Commit: ed5447d0a7dee4c76c63dcfc3087f34c1df0f78e
      https://github.com/dylan-lang/http/commit/ed5447d0a7dee4c76c63dcfc3087f34c1df0f78e
  Author: Carl Gay <[email protected]>
  Date:   2014-06-13 (Fri, 13 Jun 2014)

  Changed paths:
    M server/core/resources.dylan
    M server/core/static-files.dylan
    M server/dsp/dsp.dylan

  Log Message:
  -----------
  Merge pull request #59 from kibook/patch-1

default-content-type not specialized


Compare: https://github.com/dylan-lang/http/compare/789bf3907c0e...ed5447d0a7de

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.