Tag: browser
-
Post Views: 17 1. In yii2, when the server is abnormal, it does not respond to 500, but prompts in the browser: CORS error, which leads to user experience, the front end has been loaded all the time. The prompts in the console are as follows, as shown in Figure 1 2. The existing logic is in the browser, the…
-
Post Views: 15 1. Report an error in the browser console: UncaughtSyntaxError: Invalid or Unexpected token (XXX.js). as shown in Figure 1 2. The last discovery is that the content of the JS file in the response contains \, and the content is escaped. as shown in Figure 2 3. After the \ is removed from the content of the…
-
Post Views: 22 1. When the same CSS file (its ETag is equal), the response-type of its response is equal to text/CSS, the web interface is normal. as shown in Figure 1 2. When the same CSS file (its ETag is equal), the response-type of its response is equal to text/plain; charset=utf-8, the web interface is confused. as shown in…
-
Post Views: 13 1. The same URL, respond to 302 in the browser. as shown in Figure 1 2. The same URL, respond 302 in the browser, and 200 in Postman. as shown in Figure 2 3. Decided to check the request log record of nginx, there are 2 request records, so it can be determined that when the request…
-
Post Views: 43 1. Publish Weibo links to the platform through the Weibo open platform interface, and click the link of the webpage on my homepage. as shown in Figure 1 2. Prompt when the link is opened: If you need to browse, please long press the URL to copy and use the browser to access it. as shown in…