Questions tagged [http-status-code-100]

The HTTP response status code 100 Continue

The client should continue with its request. This interim response is used to inform the client that the initial part of the request has been received and has not yet been rejected by the server. The client should continue by sending the remainder of the request or, if the request has already been completed, ignore this response. The server must send a final response after the request has been completed.

See also RFC2616.

22 questions
15
votes
3 answers

Supporting the "Expect: 100-continue" header with ASP.NET MVC

I'm implementing a REST API using ASP.NET MVC, and a little stumbling block has come up in the form of the Expect: 100-continue request header for requests with a post body. RFC 2616 states that: Upon receiving a request which includes an Expect…
Greg Beech
  • 133,383
  • 43
  • 204
  • 250
12
votes
2 answers

Supporting HTTP 100 Continue with PHP

I'm working on a PHP webapp that accepts large POSTed file uploads from specific clients and would like to accept or reject these uploads (based on various headers and other factors, not just size) before the file is uploaded by using HTTP/1.1 100…
Jonah Braun
  • 4,155
  • 7
  • 29
  • 31
10
votes
1 answer

Does empty "Expect:" header mean anything?

Many libraries include Expect: 100-continue on all HTTP 1.1 POST and PUT requests by default. I intend to reduce perceived latency by removing 100-continue mechanism on the client side on those requests for which I know the expense of sending data…
Dima Tisnek
  • 11,241
  • 4
  • 68
  • 120
5
votes
0 answers

Spring Webflux: WebClient dealing with Expect: 100-continue

I'm fairly new to Spring Webflux and working with the WebClient. What I have is for example a POST-Request being performed something like this: Mono> dotResponse = this.webClient .method(HttpMethod.POST) …
5
votes
2 answers

Handling 100-continue when redirecting a POST request from a Web API controller

I have an ApiController which responds to a POST request by redirecting it via HTTP's status code 307. It does so using only information from the header, so the body of the request is not needed by this action. This action is equivalent to: public…
4
votes
1 answer

How to check if PUT can be performed before sending request body?

Note: we are using lib_neon on client side and Tomcat and servlet api on server side. The problem is following: when client wants to put some content, it performs a PUT request with an "Expect: 100-continue" header, Tomcat handles it by simply…
Illarion Kovalchuk
  • 5,774
  • 8
  • 42
  • 54
4
votes
2 answers

Several 100-continue received from the server

I'm using libcurl (c++) library to make a request to an IIS 7.5 server. The transaction is a common SOAP webservice Everything is working fine, my requests send an "Expect 100-continue" flag, and the server responds with a 100-continue and…
3
votes
4 answers

Sending 100 Continue using Java Servlet API

Is it possible to send "100 Continue" HTTP status code, and then later some other status code after processing entire request using Java Servlet API (HttpServletResponse)? I can't find any definitive "No" answer, although API doesn't seem to support…
Peter Štibraný
  • 32,463
  • 16
  • 90
  • 116
3
votes
1 answer

PHP Curl http code 100 and failing

I'm trying to use a web service with php curl but I'm getting the http code "100" and an "Recv failure: Connection was reset" error.. I tested the web service with google chrome's extension "Postman -REST Client" and it works perfectly. I searched…
Mauricio
  • 839
  • 2
  • 13
  • 26
3
votes
1 answer

ASP.NET: Overriding IIS response to "expect 100" header?

I have an ASP.NET application that receives requests from a client software and the request headers contain a "request 100-continue". I want to override IIS auto-response to request-100 header so that I can use the other headers to authenticate the…
Madi D.
  • 1,980
  • 5
  • 23
  • 44
2
votes
0 answers

Facebook Messenger Bot welcome message: 100 Parameter_type required

I want to make my dialogflow bot talk first. Following the documentation, I am trying to set up a welcome message for a Facebook Messenger bot using the code provided in the documentation - with my own Page ID and Page access token: But it…
Revolucion for Monica
  • 2,848
  • 8
  • 39
  • 78
2
votes
0 answers

Handling failures when using Expect: 100-Continue with HttpClient

I'm interested in optimizing the behavior of a client calling a REST API. In this API, a particular POST operation allows for the inclusion of a If-None-Match: * header, which causes the server to report an HTTP 412 response if the item being…
Sam Harwell
  • 97,721
  • 20
  • 209
  • 280
1
vote
0 answers

Express API returns duplicate "100 continue" responses when it should only return one

Problem description When making a HTTP POST request to my Express app (Node.js) the server responds with two "100 Continue" responses and after that a "200 OK" response, when there should only be one "100 Continue". Postman manages to ignore the…
1
vote
1 answer

How to send a HTTP 100-continue response with netty

I instantiated a netty 4 (using netty-all-4.0.9.jar) service and initialized the channel by adding 3 ChannelHandler objects: pipeline.addLast("decoder", new HttpRequestDecoder()); pipeline.addLast("encoder", new…
phrinx
  • 13
  • 3
0
votes
2 answers

What does status=canceled for a resource mean?

So I have an issue on local When I make a request I get the data, on Dev/QA/Prod nothing comes back I checked the network dev tools on my browser and I see that the request is being cancelled
ishm
  • 21
  • 5
1
2