Comments (2)
8.2.3 Use of the 100 (Continue) Status
The purpose of the 100 (Continue) status (see section 10.1.1) is to allow a client that is sending a request message with a request body to determine if the origin server is willing to accept the request (based on the request headers) before the client sends the request body. In some cases, it might either be inappropriate or highly inefficient for the client to send the body if the server will reject the message without looking at the body.
Requirements for HTTP/1.1 clients:
- If a client will wait for a 100 (Continue) response before
sending the request body, it MUST send an Expect request-header
field (section 14.20) with the "100-continue" expectation.
- A client MUST NOT send an Expect request-header field (section
14.20) with the "100-continue" expectation if it does not intend
to send a request body.
from minio-go.
To keep note of while implementing this feature - https://tools.ietf.org/html/rfc7231#page-35
A client that receives a 417 (Expectation Failed) status code in
response to a request containing a 100-continue expectation SHOULD
repeat that request without a 100-continue expectation, since the
417 response merely indicates that the response chain does not
support expectations (e.g., it passes through an HTTP/1.0 server).
Currently being transparently being implemented by http.Client we need to make sure that Golang http.Client would behave this way.
from minio-go.
Related Issues (20)
- Add Amazon EKS Pod Identity support HOT 3
- Resize image with minio client HOT 1
- RemoveObject() does not work as i expect! HOT 4
- Service account GCP HOT 1
- Retrieve object metadata on GCS HOT 2
- How to Validate Checksums using MD5 in MinIO with Go SDK for multi-part upload
- Retry attempt http PUTs for 'mc cp' fail with early EOF HOT 2
- PutObject with expires invalid HOT 1
- Does the Minio SDK use multiple connections to saturate the bandwidth? HOT 1
- Sec vul CVE-2022-28948 from pkg/credentials > ini.v1 > stretchr/testify > yaml.v3 HOT 1
- about Access Policy questiong
- Suggestion : We should default to not using s3 dual stack urls and setting the flag as false by default, considering the inability to use vpc private link in this case HOT 2
- how to set or get metadata? HOT 2
- GCP endpoint validation error HOT 1
- Vulnerabilities due to old go version HOT 5
- How to modify metadata when uploading files in the following way HOT 1
- Localhost driver? HOT 1
- OOM when transfer big size file from minio to another minio HOT 3
- OpenTelemetry Tracing HOT 4
- No way to get non-metadata headers (e.g. content-range) from StatObject HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minio-go.