Remove custom header support from DevSupportHttpClient by cortinico · Pull Request #55884 · facebook/react-native
bot
added
the
CLA Signed
label
Mar 3, 2026cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026Summary: Pull Request resolved: facebook#55884 The addRequestHeader/removeRequestHeader methods don't need to live inside devsupport. Instead we can use the `setOkHttpClientFactory` to provide this same logic. Changelog: [Internal] Reviewed By: javache, cipolleschi Differential Revision: D95059080
cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026Summary: Pull Request resolved: facebook#55884 The addRequestHeader/removeRequestHeader methods don't need to live inside devsupport. Instead we can use the `setOkHttpClientFactory` to provide this same logic. Changelog: [Internal] Reviewed By: javache, cipolleschi Differential Revision: D95059080
cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026Summary: Pull Request resolved: facebook#55884 The addRequestHeader/removeRequestHeader methods don't need to live inside devsupport. Instead we can use the `setOkHttpClientFactory` to provide this same logic. Changelog: [Internal] Reviewed By: javache, cipolleschi Differential Revision: D95059080
cortinico added a commit to cortinico/react-native that referenced this pull request
Mar 4, 2026Summary: Pull Request resolved: facebook#55884 The addRequestHeader/removeRequestHeader methods don't need to live inside devsupport. Instead we can use the `setOkHttpClientFactory` to provide this same logic. Changelog: [Internal] Reviewed By: javache, cipolleschi Differential Revision: D95059080
Summary: All 7 callers of DevSupportHttpClient are within ReactAndroid, so there is no need to expose it as a public API. Make the class and all its members internal. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D95059038
This file contains hidden or 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