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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary FIWARE.Question.Tech.FIWARE object storage GE: Different type of responses obtained when downloading an image object FIWARE.Question.Tech.Cloud.ObjectStorage.FIWARE object storage GE: Different type of responses obtained when downloading an image object
        mev Manuel Escriche made changes -
        HD-Chapter Cloud [ 10837 ]
        mev Manuel Escriche made changes -
        HD-Enabler Object Storage [ 10863 ]
        Description
        Created question in FIWARE Q/A platform on 09-03-2016 at 14:03
        {color: red}Please, ANSWER this question AT{color} 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.
        Created question in FIWARE Q/A platform on 09-03-2016 at 14:03
        {color: red}Please, ANSWER this question AT{color} 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.
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] FIWARE object storage GE: Different type of responses obtained when downloading an image object FIWARE.Question.Tech.FIWARE object storage GE: Different type of responses obtained when downloading an image object
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        eranr Eran Rom made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        eranr Eran Rom made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        ymoatti Yosef Moatti made changes -
        Assignee Yosef Moatti [ ymoatti ] Eran Rom [ eranr ]
        mev Manuel Escriche made changes -
        Assignee Yosef Moatti [ ymoatti ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          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: