Techiio-author
Started by Peter DanielsOct 1, 2021

Closed
Http Post Request 417 Status

3 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 3 VIEWES SHARE

I get error 417 in Flutter when I want to submit an http request, but I read somewhere that I should have System.Net.ServicePointManager.Expect100Continue = false; But I do not know where the path I should add this is

1 Replies

Techiio-commentatorNeel Dey replied 5 months ago0 likes0 dislikes

Syntax

Expect: 100-continue

Directives

There is only one defined expectation:

100-continue

Informs recipients that the client is about to send a (presumably large) message body in this request and wishes to receive a 100 (Continue) interim response.

Examples

Large message body

A client sends a request with Expect header and waits for the server to respond before sending the message body.

PUT /somewhere/fun HTTP/1.1
Host: origin.example.com
Content-Type: video/h264
Content-Length: 1234567890987
Expect: 100-continue

The server checks the headers and generates the response. The server sends 100 (Continue), which instructs the client to send the message body.

Peter Daniels
Thanks for your support.
This thread is closed by Peter Daniels
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance