Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-6083

FIWARE.Question.Tech.Cloud.ObjectStorage.FIWARE object storage GE: Different type of responses obtained when downloading an image object

    Details

      Description

      Created question in FIWARE Q/A platform on 09-03-2016 at 14:03
      Please, ANSWER this question AT http://stackoverflow.com/questions/35893261/fiware-object-storage-ge-different-type-of-responses-obtained-when-downloading

      Question:
      FIWARE object storage GE: Different type of responses obtained when downloading an image object

      Description:
      I can effectively make use of all operations available for Object Storage on my FIWARE account.

      Nonetheless I have identified a strange behaviour when downloading objects from a container.

      Please find below the procedure to reproduce that strange behaviour:

      I upload two objects ("gonzo.png" and "elmo.png") to the container "photos"
      1.1. By means of cloud UI (https://cloud.lab.fiware.org/#objectstorage/containers/) I manually upload the object "gonzo.png"
      1.2. By following the instructions from Object Storage GE programmer's guide I programmatically (or with the help of standalone Rest Client) upload the object "elmo.png"
      I download the objects from the container "photos"
      2.1 First, by following the instructions from Object Storage GE programmer's guide I successfully download object "gonzo.png". The webservice response body is the binary content of such object.
      2.2. Later, by following same instructions as in step 2.1 I try to download the object "elmo.png". Now the webservice response body is a json with metadata and the binary content of the object.

      What can I do receive a standard response body for both objects? Either binary or either json.
      Why do I get a different response if the object is originally uploaded via Cloud UI or via external tool (program or rest client) ?
      As in Download blob from fiware object-storage I have already tried to set the header response_type: text and the behaviour is the same.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2016-03-09 15:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-03-09 15:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        eranr Eran Rom added a comment -

        Done.

        Show
        eranr Eran Rom added a comment - Done.
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-03-14 15:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2016-03-14 15:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            eranr Eran Rom
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: