Skip to content
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

HTTP Headers: remove X-APOLLO-OPERATION-NAME, X-APOLLO-OPERATION-ID and the multipart boundary #5533

Merged
merged 5 commits into from Feb 2, 2024

Conversation

martinbonnin
Copy link
Contributor

@martinbonnin martinbonnin commented Jan 15, 2024

In a effort to streamline the clients, we are modifying what headers are sent.

Copy link

netlify bot commented Jan 15, 2024

Deploy Preview for apollo-android-docs ready!

Name Link
🔨 Latest commit 7c675db
🔍 Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/65bcfb3ab38cee0008abc592
😎 Deploy Preview https://deploy-preview-5533--apollo-android-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@martinbonnin martinbonnin marked this pull request as ready for review February 2, 2024 14:24
Comment on lines -9 to -21
public static final field CACHE_DO_NOT_STORE Ljava/lang/String;
public static final field CACHE_EXPIRE_AFTER_READ_HEADER Ljava/lang/String;
public static final field CACHE_EXPIRE_TIMEOUT_HEADER Ljava/lang/String;
public static final field CACHE_FETCH_POLICY_HEADER Ljava/lang/String;
public static final field CACHE_FIRST Ljava/lang/String;
public static final field CACHE_KEY_HEADER Ljava/lang/String;
public static final field CACHE_ONLY Ljava/lang/String;
public static final field CACHE_OPERATION_TYPE_HEADER Ljava/lang/String;
public static final field CACHE_SERVED_DATE_HEADER Ljava/lang/String;
public static final field Companion Lcom/apollographql/apollo3/cache/http/CachingHttpInterceptor$Companion;
public static final field FROM_CACHE Ljava/lang/String;
public static final field NETWORK_FIRST Ljava/lang/String;
public static final field NETWORK_ONLY Ljava/lang/String;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Breaking change but this should have been internal from day 1

Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

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

👍

@martinbonnin martinbonnin merged commit d2112b2 into main Feb 2, 2024
9 checks passed
@martinbonnin martinbonnin deleted the http-headers branch February 2, 2024 14:57
martinbonnin added a commit that referenced this pull request Feb 5, 2024
…D` and the multipart boundary (#5533)

* use new router headers

* remove X-APOLLO-OPERATION-NAME and X-APOLLO-OPERATION-ID

* move docs to a separate PR

* send apollo-require-preflight and add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants