You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Developer portal in "try mode" does not handle redirect policy correctly
Reproduction steps
Create API
add policy that will do redirect via: <return-response> <set-status code="303" reason="See Other" /> <set-header name="Location" exists-action="override"> <value>https://xxxxx.blob.core.windows.net/latest/yyyy.blob</value> </set-header> </return-response>
go to developer portal and do "try it"
See error## unable to complete the request
A clear and concise description of what you expected to happen.
Is self-hosted portal?
Yes and No
Additional context
This scenario is useful for creating an API on top of large blob objects (tens or hundreds of megabytes, or even gigabytes). The API management portal or API won’t be able to proxy such large files due to their size, but a redirect mechanism can handle it. The API policy generates a SAS URL to the blob storage and redirects the client. This works perfectly when tested via curl or even in the browser, but it fails in the developer portal. In the network section, you can see that the redirect occurs, but then it gets canceled.
The text was updated successfully, but these errors were encountered:
Bug description
Developer portal in "try mode" does not handle redirect policy correctly
Reproduction steps
<return-response> <set-status code="303" reason="See Other" /> <set-header name="Location" exists-action="override"> <value>https://xxxxx.blob.core.windows.net/latest/yyyy.blob</value> </set-header> </return-response>
A clear and concise description of what you expected to happen.
Is self-hosted portal?
Yes and No
Additional context
This scenario is useful for creating an API on top of large blob objects (tens or hundreds of megabytes, or even gigabytes). The API management portal or API won’t be able to proxy such large files due to their size, but a redirect mechanism can handle it. The API policy generates a SAS URL to the blob storage and redirects the client. This works perfectly when tested via curl or even in the browser, but it fails in the developer portal. In the network section, you can see that the redirect occurs, but then it gets canceled.
The text was updated successfully, but these errors were encountered: