We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Response and Response (after #759 is merged) loose original request headers.
The culprit seems to be how we use Response.success()
mapbox-java/services-directions/src/main/java/com/mapbox/api/directions/v5/MapboxDirections.java
Line 113 in ac054f1
we should change it to
response.body() .toBuilder() .matchings(generateRouteOptions(response)) .build(), new okhttp3.Response.Builder() .code(200) .message("OK") .protocol(response.raw().protocol()) .headers(response.headers()) .request(response.raw().request()) .build());```
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Response and Response (after #759 is merged) loose original request headers.
The culprit seems to be how we use Response.success()
mapbox-java/services-directions/src/main/java/com/mapbox/api/directions/v5/MapboxDirections.java
Line 113 in ac054f1
we should change it to
The text was updated successfully, but these errors were encountered: