1
Answer

CORS OPTIONS preflight requests not showing in dev tools

Photo of pamose

pamose

1y
1.1k
1

How to get Safari to display CORS pre-flight OPTIONS requests in the dev tools network tab?

IIRC they used to show up, and I know the requests are being made as we can see them logging on the server.

We had the same problem suddenly occur with Chrome in the last few weeks (around Chrome 79/80) and had to force it by setting chrome://flags/#out-of-blink-cors to disable

Answers (1)

3
Photo of Abhishek  Yadav
107 17.2k 351.2k 1y

To get Safari to display CORS pre-flight OPTIONS requests in the dev tools network tab, you can follow these steps:

1. Open Safari and go to the Preferences menu.
2. Go to the Advanced tab and check the box that says "Show Develop menu in menu bar."
3. Close the Preferences menu and then click on the Develop menu in the menu bar.
4. Select "Show Web Inspector" to open the developer tools.
5. Go to the Network tab in the developer tools.
6. Make sure the "All" filter is selected to show all network activity.
7. Now, when you make a CORS pre-flight OPTIONS request in Safari, you should see it displayed in the network tab along with other network requests.

By following these steps, you should be able to see CORS pre-flight OPTIONS requests in the Safari developer tools network tab.

Accepted