-
Notifications
You must be signed in to change notification settings - Fork 6
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
Relative Location Header #77
Comments
Wouldn't a relative URL given here be treated the same as the relative URLs we generate for the initial call? Is this the reason we have this in our ms api definition? |
When we get back a relative url in the location header, such as Where it currently polls: For microservices, we (for some reason) just use the same url no matter what the location header is IIRC. |
Currently the location header returned in the response (which indicates to poll) expects a fully qualified URL (or absolute URL). Per the HTTP spec, a relative URL can be provided and should be supported
sdk-js/packages/api-core/src/api.js
Lines 119 to 129 in 77b69f2
The library should check for relative URLs and return a fully qualified URL to be polled.
The text was updated successfully, but these errors were encountered: