Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core v1.4] Not supported application/octet-stream format #225

Open
mdhsl opened this issue Aug 14, 2022 · 1 comment
Open

[Core v1.4] Not supported application/octet-stream format #225

mdhsl opened this issue Aug 14, 2022 · 1 comment
Labels

Comments

@mdhsl
Copy link
Member

mdhsl commented Aug 14, 2022

When we make a SOS request with responseFormat=application/octet-stream, the server returns an error:

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.1" xmlns:ows="http://www.opengis.net/ows/1.1">
    <ows:Exception exceptionCode="InvalidParameterValue" locator="format">
        <ows:ExceptionText>Unsupported format application/octet-stream</ows:ExceptionText>
    </ows:Exception>
</ows:ExceptionReport>

For example, we get this error while maling this request:

http://sensiasoft.net:8181/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:mysos:solo:video2&observedProperty=http://sensorml.com/ont/swe/property/VideoFrame&temporalFilter=phenomenonTime,2015-12-19T21:04:30.231Z/2015-12-19T21:04:32.00Z&responseFormat=application/octet-stream

Instead, the server should return the stream in binary

@mdhsl mdhsl added the bug label Aug 14, 2022
@alexrobin alexrobin changed the title [Core] Not supported application/octet-stream format [Core v1.4] Not supported application/octet-stream format Aug 15, 2022
@alexrobin
Copy link
Member

alexrobin commented Aug 15, 2022

Marked as 1.4 since it's confirmed to work in 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants