Git Product home page Git Product logo

mhd.js's People

Contributors

dunmail avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

mhd.js's Issues

Additional documentDossier search parameters

The Document Consumer may include additional key/value pairs to further scope the search. They are encoded in accordance with RFC2616 for encoding GET queries. The query string (i.e., the string after the ‘?’ and before the ‘#’ in the HTTP action) is created as a list of key/value pairs.

See documentation for further details

b64 2.x.x coming with breaking changes

I am changing the module API to work on buffers. I would recommend no longer using the b64 module if you are only interested in working with b64 strings. Instead just use this code in your own module:

function base64_encode(message) {
  if(typeof message !== "string") {
    throw new Error("Argument is not a string");
  }
  return new Buffer(message).toString('base64');
};

function base64_decode(message) {
  if(typeof message !== "string") {
    throw new Error("Argument is not a string");
  }
  return new Buffer(message, 'base64').toString('utf8');
};

Alternatively, just change your package.json to only allow b64 version 1.x.x because your code will break as soon as I publish 2.0.0.

lib/xdsAdapter.findDocumentDossiers should check media type of request

The Document Consumer shall indicate in the Accept a preference for JSON (i.e.,
application/json) or Atom (i.e. application/xml+atom). In the absence of an Accept preference, JSON shall be used. The Document Responder shall support both JSON and Atom return formats.

If the requested media type is not supported by the server, the Document Responder shall return a status code of 415.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.