Skip to content

Getting geo block status from indexer response header#825

Merged
ruixhuang merged 1 commit intomainfrom
feature/geo
Nov 5, 2025
Merged

Getting geo block status from indexer response header#825
ruixhuang merged 1 commit intomainfrom
feature/geo

Conversation

@ruixhuang
Copy link
Contributor

No description provided.

@ruixhuang ruixhuang marked this pull request as ready for review November 5, 2025 17:31
else -> {
val geoStatus = parsedHeaders?.get("geo-origin-status")
if (geoStatus == "restricted") {
indexerRestriction = UsageRestriction.http403Restriction
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfamiliar with how abacus handles all 403s, what exactly changes app-wide? Are we just forcing 403 as a shortcut despite being in the else block?

@ruixhuang ruixhuang merged commit 64a97d3 into main Nov 5, 2025
3 checks passed
@ruixhuang ruixhuang deleted the feature/geo branch November 5, 2025 21:47
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.

3 participants