-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addons: move the HTTP header to a GET parameter (#10753)
Move `X-RTD-Hosting-Integration-Version` header to `api-version` querystring parameter. This has some benefits: - make links to this URL clickable (there is no need to use a browser extension to send a specific header in the request) - easier to cache using the default strategy supported by CF Related #10536
- Loading branch information
Showing
3 changed files
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"error": "The version specified in 'X-RTD-Hosting-Integrations-Version' is currently not supported" | ||
"error": "The version specified in 'api-version' is currently not supported" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters