From c7bfd40f19fbf272b0207077ea462ed4774765da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 23 Jan 2018 17:07:05 +0100 Subject: Update docs --- docs/index.xml | 42 ++++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 16 deletions(-) (limited to 'docs/index.xml') diff --git a/docs/index.xml b/docs/index.xml index 7448fff5..c3cab0cf 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -1430,6 +1430,16 @@ Cowboy will execute all middlewares in the given order, unless one of them decides to stop processing. + + Changes since Cowboy 2.2 + https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.2/ + Mon, 01 Jan 0001 00:00:00 +0000 + + https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.2/ + The following patch versions were released since Cowboy 2.2: + Cowboy 2.2.1 Colons are now allowed within path segments in routes provided to cowboy_router:compile/1 as long as they are not the first character of the path segment. The cowboy_req:delete_resp_header/2 function will no longer crash when no response header was set before calling it. A miscount of the output HTTP/2 flow control window has been fixed. + + Migrating from Cowboy 1.0 to 2.0 https://ninenines.eu/docs/en/cowboy/2.0/guide/migrating_from_1.0/ @@ -1451,16 +1461,6 @@ Features added It is now possible to obtain the client TLS certificate and the local IP/port for the connection from the Req object. Informational responses (1XX responses) can now be sent. They must be sent before initiating the final response. - - Migrating from Cowboy 2.1 to 2.2 - https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.1/ - Mon, 01 Jan 0001 00:00:00 +0000 - - https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.1/ - Cowboy 2.2 focused on adding features required for writing gRPC servers and on completing test suites for the core HTTP RFCs, fixing many bugs along the way. - Features added Add support for sending trailers at the end of response bodies. Trailers are additional header fields that may be sent after the body to add more information to the response. Their usage is required in gRPC servers. They are optional and may be discarded in other scenarios (for example if the request goes through an HTTP/1. - - HTTP and other specifications https://ninenines.eu/docs/en/cowboy/2.0/guide/specs/ @@ -1483,13 +1483,13 @@ - Migrating from Cowboy 2.0 to 2.1 - https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.0/ + Migrating from Cowboy 2.1 to 2.2 + https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.1/ Mon, 01 Jan 0001 00:00:00 +0000 - https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.0/ - Cowboy 2.1 focused on adding features that were temporarily removed in Cowboy 2.0. A number of bugs found in the 2.0 release were also fixed. - Features added It is now possible to obtain the client TLS certificate and the local IP/port for the connection from the Req object. Informational responses (1XX responses) can now be sent. They must be sent before initiating the final response. + https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.1/ + Cowboy 2.2 focused on adding features required for writing gRPC servers and on completing test suites for the core HTTP RFCs, fixing many bugs along the way. + Features added Add support for sending trailers at the end of response bodies. Trailers are additional header fields that may be sent after the body to add more information to the response. Their usage is required in gRPC servers. They are optional and may be discarded in other scenarios (for example if the request goes through an HTTP/1. @@ -1502,6 +1502,16 @@ HTTP IANA Registries HTTP Method Registry HTTP Status Code Registry Message Headers HTTP Parameters HTTP Alt-Svc Parameter Registry HTTP Authentication Scheme Registry HTTP Cache Directive Registry HTTP Digest Algorithm Values HTTP Origin-Bound Authentication Device Identifier Types HTTP Upgrade Token Registry HTTP Warn Codes HTTP/2 Parameters WebSocket Protocol Registries Current CORS: Cross-Origin Resource Sharing CSP2: Content Security Policy Level 2 DNT: Tracking Preference Expression (DNT) eventsource: Server-Sent Events Form content types: Form content types Preload: Preload REST: Fielding’s Dissertation RFC 1945: HTTP/1. + + Migrating from Cowboy 2.0 to 2.1 + https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.0/ + Mon, 01 Jan 0001 00:00:00 +0000 + + https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.0/ + Cowboy 2.1 focused on adding features that were temporarily removed in Cowboy 2.0. A number of bugs found in the 2.0 release were also fixed. + Features added It is now possible to obtain the client TLS certificate and the local IP/port for the connection from the Req object. Informational responses (1XX responses) can now be sent. They must be sent before initiating the final response. + + Migrating from Cowboy 1.0 to 2.0 https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_1.0/ @@ -1586,7 +1596,7 @@ Mon, 01 Jan 0001 00:00:00 +0000 https://ninenines.eu/docs/en/cowboy/2.2/guide/ - Rationale The modern Web Erlang and the Web Introduction Introduction Getting started Flow diagram Configuration Listeners Routing Constraints Handlers Handlers Loop handlers Static files Request and response Request details Reading the request body Sending a response Using cookies Multipart REST REST principles Handling REST requests REST flowcharts Designing a resource handler Websocket The Websocket protocol Websocket handlers Advanced Streams Middlewares Additional information Migrating from Cowboy 2. + Rationale The modern Web Erlang and the Web Introduction Introduction Getting started Flow diagram Configuration Listeners Routing Constraints Handlers Handlers Loop handlers Static files Request and response Request details Reading the request body Sending a response Using cookies Multipart REST REST principles Handling REST requests REST flowcharts Designing a resource handler Websocket The Websocket protocol Websocket handlers Advanced Streams Middlewares Additional information Changes since Cowboy 2. -- cgit v1.2.3