[] Front-end call interface problem encountered no error, Provisional headers are shown Commissioning

First, the encounter bug:

1, bug resolved
       Local domain name server by uploading the front access to upload files to the server through the domain name, all the way through without problems. Backend server debug mode is turned on, uploaded to the server through the local request and does not reach the rear end of the point not being given effective (only a time-out error 6000ms), the view interface data, Request Header appears Provisional headers are shown
2, server upload successfully map

Here Insert Picture Description

3, local upload failed diagram:

Here Insert Picture Description

Second, the initial guess

       Because the file upload and data interfaces is an address, so that ruled out the upload address error. There remains only two possibilities: ① server to intercept a large request; ② browser does not support large requests.

Third, to solve the problem

       I found both visually request header, the request headers Request Headers are left intact, and the right of failed request header is missing some parts

Here Insert Picture Description

       I will try to send the request when the front end, to bring these data, with awkward to solve
       I left part of the success of the request header in extra copy in front of the request, the following

Here Insert Picture Description

       Nima, actually resolved. . . . . The reason so weak. This is simply no logic to solve the problem of vulnerability, coupled with missing part on the line. . . .
       Consider also the first request is not complete, how could the hair out of it, such as the equivalent of a lost child home
Published 20 original articles · won praise 1 · views 553

Guess you like

Origin blog.csdn.net/weixin_42295814/article/details/104379605