mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fd85b84a86
Summary: Only add Sec-WebSocket-Protocol header if has _requestedProtocols. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [iOS] [Fixed] - when Sec-WebSocket-Protocol header is empty vaulue, IIS server will return error 502. Pull Request resolved: https://github.com/facebook/react-native/pull/29419 Reviewed By: cpojer Differential Revision: D22782867 Pulled By: PeteTheHeat fbshipit-source-id: d588997a345929b0c11c554d4452e612a336901a