when looking up http pipeline, I found this sentence. I don"t understand why non-idempotent requests can"t be pipelined.
is it because the client cannot guarantee the order in which each request arrives at the server when pipelining the request?
when looking up http pipeline, I found this sentence. I don"t understand why non-idempotent requests can"t be pipelined.
is it because the client cannot guarantee the order in which each request arrives at the server when pipelining the request?
idempotency is the effect of multiple executions on resources, just as one execution has on resources.
idempotent guarantees that all requests in pipeline do not have to care about the order in which they are sent and the order in which they are executed when they arrive at the server, and even if there are multiple requests, the result is always the same.
conversely, if it contains a non-idempotent request, there are two requests, the first is to update the user Zhang San information, and the second request is to obtain the updated Zhang San latest information. They are executed on the server side in order: 1 first, then 2. However, the latter request will not wait until the previous request is completed before executing , that is, request 2, which may obtain the latest information of Zhang San, will first execute , so that the returned information will not be expected.
rfc7230 connection Management pipeline points out that the server gets a set of requests from pipeline and can process them in parallel with (MAY).
I think parallel processing can lead to unexpected results if it contains non-idempotent requests.
figured out that the so-called pipeline requires idempotency because, for example, the three requests are sent in turn. If 1 and 2 and 3 are not idempotent, that is, 2 may depend on the return of 1, 3 may depend on the return of 1 and 2, in which case it cannot be sent through pipeline
Previous: When the front end sends a request, how can the front end determine the DNS parsing error?
Next: How to asynchronously compress a picture when uploading multiple images in vue?
write the program for uploading files in java. There is no problem with deployment on other servers in Aliyun. but after deployment in the customer s own server room, my visit to the upload page IE11 reports the following error SCRIPT7002: XMLHttpReq...
I have a very strange problem. I am using Java to simulate login to the academic Affairs Office website. but when I proceed to the last step of the GET login interface I have heard before that the sessionid of cookie obtained by httpClient is invalid...
devServer: { clientLogLevel: warning , https: true, } Page prompt is not safe after startup: Click to continue to the unsafe page to open the page. Why, and how to make this https service secure? ...
after the IPV6 channel applied for by tunnelbroker.net is configured on the server, the Apache configuration file is updated accordingly to see that port 443 rel= 80 is also monitored by Apache, and the IPv6 web server,http is tested to be normal throug...
OkHttp (retrofit 2.3.0) configure Https error (self-signed certificate) italic text : API 19: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb8876650: Failure in SSL library, usually a protocol ...
suppose that the response time of an interface is 0.06s. Now there are 52 fpm, on the machine. How many concurrent requests can you support? ...
see that many people misunderstand that it has been sent 10 times at a time, which is added like this: if the user can click the button continuously and send a request one time at a time, a li, will be generated after each response result. Because of ...
goal: golang service, prepare to get banner information of ip:port. if ip:port is http, you can get http response, if it is ssh service, you can get ssh service output information. Such as version information. pre-condition: the corresponding tcpAddr...
I dump a request from Fiddler and ask if there is a third-party library of C-sharp or Nodejs that can parse http messages. If you can explain the picture data in the second picture, how to bring it up and save it locally. message is as follows ...
the file opened by running vi etc httpd conf httpd.conf in Linux and xshell is incomplete. Is there any divine guidance on how to solve the problem? Thank you. ...
send a request to oppo with the following headers POST client get_search_completion.pb HTTP 1.1 brand: samsung rom: 2 desktop: desktop_other locale: zh_CN uid: oppo.uid.nearme Referer: SM-G955N appstore 4.3.1 354730010542250 User-Agent: SM-G955N 4.4.2...
when I was working on a project recently, I involved the preflight pre-checking mechanism. A doubt arises: Why does the browser have to pre-check with the server to confirm that the request is available? Instead of sending the request directly to the ...
win10ftpftp: 192.169.5..., ftp...
Hello, bosses! at the request of a friend, help him test a web vulnerability. after writing and running a HTTP GET, which he thought was very simple, he found that he could not achieve the desired effect in any case HttpWebRequest url =xxx, met...
is actually that I have been writing a chrome plug-in recently, in which I want to request an image address without referrer information in order to avoid the hotlink protection mechanism of the image resource server. < meta name= "referrer " content...
what I already know is that the http status code is sent to the client after the server sends the data. for a http request, the client sends the HTTP request after the three-way handshake (TCP), and the server sends TCP fragments in response to the req...
generally speaking, ip is used in conjunction with the subnet mask, which can be used to determine the network number and host number of the ip. deduce that if the same ip is matched with different subnet masks, there will be two hosts with two differen...
correct configuration of charles mobile phone installation of https certificate ssl agent correct configuration some https agents are normal, but some request agent requests are abnormal as shown in figure ssl proxying settings : excuse me, what may...
< H1 > problem description < H1 > is currently developing a Django project. If you want to use gunicorn as a http server, and then use nginx as a reverse proxy, you will eventually need to use https. my question is: can I run a statement like gun...
under the https protocol, the post request is cross-domain, the get request is not cross-domain, and the http protocol is fine. related codes ...