salmanahmad / silo

The Silo Programming Language
0 stars 0 forks source link

Figure out HTTP 100 CONTINUE #33

Closed salmanahmad closed 10 years ago

salmanahmad commented 10 years ago

As seen here:

https://github.com/netty/netty/blob/master/example/src/main/java/io/netty/example/http/snoop/HttpSnoopServerHandler.java

How should I support this?

salmanahmad commented 10 years ago

Added in 079ba54b46ca56903800825c1ec31ddc9462637c.

Basically, the HTTP handler will identify 100 continues and set a flag in the Connection object. When creating an HTTP Server the use can choose to have the server NOT automatically writeContinue and then it becomes their responsibility for handling it.