Skip to content

Refactor valhalla requests so the headers are more standardized - #105

Merged
Sollace merged 2 commits into
1.26.3from
refactor/valhalla-requests
Nov 4, 2026
Merged

Sollace merged 2 commits into
1.26.3from
refactor/valhalla-requests

Conversation

@mattmess1221

Copy link
Copy Markdown
Member

This change also updates the history endpoint. We don't need to provide the user's uuid if we're signed in.

…ion fields are more standardized

This change also updates the history endpoint. We don't need to provide the user's uuid if we're signed in.
@mattmess1221 mattmess1221 changed the title Refactor valhalla requests so the accepts, user-agent, and authorization fields to be more standardized Refactor valhalla requests so the headers are more standardized Nov 1, 2026
@mattmess1221
mattmess1221 requested a review from Sollace November 1, 2026 16:37
@Sollace

Sollace commented Nov 2, 2026

Copy link
Copy Markdown
Member

Looks okay. I didn't see where you put the authorization header at first, but I see it's there in the builder method. I presume this is all tested?

@mattmess1221

Copy link
Copy Markdown
Member Author

The authorization header is inside HttpRequest.Builder newHttpBuilder(URI, String). Yes, I've tested this.

@Sollace
Sollace merged commit 1601111 into 1.26.3 Nov 4, 2026
2 checks passed
@Sollace

Sollace commented Nov 4, 2026

Copy link
Copy Markdown
Member

Alrighty, merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants