Category: HTTP

当前端页面请求前端接口响应超时时,有时候响应 504(符合预期),有时候响应 404 (不符合预期)。 0

When the backend interface timeout, sometimes the response of 404 and sometimes the response of 504

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...

基于 Mime-type Detection league/mime-type-detection league/mime-type-detection 实现 0

MIME_CONTENT_TYPE — Detect the MIME type implementation of the file, replace it with an implementation based on MIME-Type Detection League/MIME-Type-detection

Post Views: 22 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...

在对应控制器的方法实现如下,由于需要符合 Last-Modified 规范,使用了 DATE_RFC7231,RFC 7231 格式 (示例:Sat, 30 Apr 2016 17:52:13 GMT) 0

In Laravle 6, simulate a route requesting a resource file, and the data is fetched from the database

Post Views: 13 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...

同样的网址,在浏览器中响应 302,在 Postman 中响应 200 0

Same URL, response 302 in the browser, and 200 in Postman’s troubleshooting analysis

Post Views: 12 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...

重载文档响应成功 0

Request Shopify in Altair GraphQL ClientS Store GraphQL API

Post Views: 17 1. Reference:https://www.shuijingwanwq.com/2022/03/15/6129/. In the Shopify’s GraphQL Admin API, there are some APIs for online stores that don’t exist. 2. The online store in the background of Shopify, request the URL:https://xxx.myshopify.com/admin/online-store/admin/api/unversioned/graphql?operation=ThemeIndexSecondaryData. Request...

在 Laravel 6 中,访问:https://wshop.local ,302 跳转至 https://xxx.xxx.xxx.top 0

In Laravel 6, access:https://object.local, 302 jump tohttps://xxx.xxx.xxx.top

Post Views: 14 1. In Laravel 6, access:https://object.local, 302 jump tohttps://xxx.xxx.xxx.top. as shown in Figure 1 2. Look in the source code: xxx.xxx.xxx.top, not found. And the database has replaced all xxx.xxx.xxx.top with Object.local....