smartos-image-server icon indicating copy to clipboard operation
smartos-image-server copied to clipboard

Add basic compatibility with IMGAPI v2

Open mguegan opened this issue 11 years ago • 2 comments

Changes include :

  • s/datasets/images/g
  • s/"/'/g
  • ping/pong compatibility
  • sending dataset logic
  • Added Content-MD5 header

Your templates have to be in this form :

<serve_dir>
               \  <dataset - uuid>
                                       \ - file
                                       | - manifest.json

mguegan avatar Aug 09 '14 08:08 mguegan

Cool! I have a branch with some code I found where someone else did something similar that I was hacking on but never pushed. I'll take a look at your code some time this week!

nshalman avatar Aug 10 '14 02:08 nshalman

Well.. I have to admit I'm not convinced by my code, specially the MD5 part... Don't hesitate to beautifying it !

mguegan avatar Aug 10 '14 08:08 mguegan