Category: Web Development Technologies
-
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: 16 1. When the front-end interface response timeout of the current page request timeout, sometimes the response is 504 (in line with expectations), and sometimes the response is 404 (not in line with expectations). as shown in Figure 1 2. Based on _request_id:004c4f55c16c0904759fdb580d7c5df9 query ingress-nginx The log, ingress-nginx-controller exists a record (10-14 16:01:33), response 404. as shown in…
-
Post Views: 16 1. The HTTP request body captured in the proxy software contains a large number of \n . as shown in Figure 1 2. Reference:Online text content keyword deletion – filter removal . Enter:\n in the keyword list, and then click Process. The results after treatment are as follows, in line with the expectations. as shown in Figure…
-
Post Views: 23 1. Reference:The same CSS file (their ETags are equal), due to the difference in the response’s content-type, leads to the difference in the interface of the web page. Discover the response’s Content-Type based on MIME_CONTENT_TYPE – the MIME type of the detection file, and finally based on the MIME-TYPE detection LEAGUE/MIME-TYPE-detection League/mime-type-detection implementation. Detect according to content,…
-
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: 15 1. The route of a requesting resource file is as follows: /static/xxx/9915995c-2952-4 90c-8e51-037a0950233c/assets/js/react.f886be.js 2. Since / is included in asset_key. Laravel routing components allow all characters except / . You must explicitly allow / to be part of a placeholder using the WHERE conditional regular expression. Otherwise, the route will fall back. The routes/web.php file is used…
-
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: 18 1. Reference:https://shopify.dev/api/admin-graphql#authentication, all GraphQL Admin API queries require a valid Shopify access token. 2. Open the background – Apps – Develop applications – Create custom apps. as shown in Figure 1 3. Enter the application name, select the application developer, and create the application. as shown in Figure 2 4. Configure the background API range. as shown…